org.apache.xalan.xsltc.util
Class IntegerArray
java.lang.Object
|
+--org.apache.xalan.xsltc.util.IntegerArray
- public final class IntegerArray
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
IntegerArray
public IntegerArray()
IntegerArray
public IntegerArray(int size)
IntegerArray
public IntegerArray(int[] array)
clear
public void clear()
clone
public java.lang.Object clone()
toIntArray
public int[] toIntArray()
at
public final int at(int index)
set
public final void set(int index,
int value)
indexOf
public int indexOf(int n)
add
public final void add(int value)
addNew
public void addNew(int value)
- Adds new int at the end if not already present.
reverse
public void reverse()
merge
public void merge(IntegerArray other)
- Merge two sorted arrays and eliminate duplicates.
sort
public void sort()
popLast
public int popLast()
last
public int last()
setLast
public void setLast(int n)
pop
public void pop()
pop
public void pop(int n)
cardinality
public final int cardinality()
print
public void print(java.io.PrintStream out)
Copyright © 2003 Apache XML Project. All Rights Reserved.