org.apache.xalan.xsltc.util
public final class IntegerArray extends Object
| Constructor Summary | |
|---|---|
| IntegerArray() | |
| IntegerArray(int size) | |
| IntegerArray(int[] array) | |
| Method Summary | |
|---|---|
| void | add(int value) |
| void | addNew(int value)
Adds new int at the end if not already present. |
| int | at(int index) |
| int | cardinality() |
| void | clear() |
| Object | clone() |
| int | indexOf(int n) |
| int | last() |
| void | merge(IntegerArray other)
Merge two sorted arrays and eliminate duplicates.
|
| void | pop() |
| void | pop(int n) |
| int | popLast() |
| void | print(PrintStream out) |
| void | reverse() |
| void | set(int index, int value) |
| void | setLast(int n) |
| void | sort() |
| int[] | toIntArray() |