|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.basex.util.IntArrayList
public final class IntArrayList
This is a simple container for native int array values.
Constructor Summary | |
---|---|
IntArrayList(int is)
Constructor. |
Method Summary | |
---|---|
void |
add(int[] v)
Adds next value. |
int[] |
get(int p)
Returns the specified value. |
Iterator<int[]> |
iterator()
|
void |
set(int[] v,
int p)
Sets the specified value at the specified position. |
int |
size()
Returns the number of entries. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IntArrayList(int is)
is
- initial size of the listMethod Detail |
---|
public void add(int[] v)
v
- value to be addedpublic int size()
public int[] get(int p)
p
- position
public void set(int[] v, int p)
v
- valuep
- positionpublic Iterator<int[]> iterator()
iterator
in interface Iterable<int[]>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |