|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.jxta.search.util.IntVector
Vector of ints.
Constructor Summary | |
IntVector()
Constructs an IntVector with the default initial size. |
|
IntVector(int size)
Constructs an IntVector with a specified initial size. |
Method Summary | |
void |
add(int value)
Adds an element to the end of this vector. |
void |
add(int[] values)
Adds elements to the end of this vector. |
static void |
add(int[] array,
int value)
|
static void |
add(int[] array,
int start,
int length,
int value)
|
int[] |
array()
Returns the element array. |
int |
get(int index)
Returns the named element. |
int |
length()
Returns the number of elements. |
void |
setLength(int length)
Resets the number of elements. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public IntVector(int size)
public IntVector()
Method Detail |
public final void add(int value)
public final void add(int[] values)
public final int get(int index)
public final int length()
public final void setLength(int length)
public int[] array()
public static final void add(int[] array, int value)
public static final void add(int[] array, int start, int length, int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |