|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.cementj.collect.IntegerArrayList
public class IntegerArrayList
An arraylist for primitive "int" data types. This class does NOT implement java.util.List.
Copyright: Delta Vortex Technologies, 2002.
Constructor Summary | |
---|---|
IntegerArrayList()
|
|
IntegerArrayList(int initialCapacity)
|
|
IntegerArrayList(int initialCapacity,
int capacityIncrement)
|
Method Summary | |
---|---|
void |
add(int value)
Adds a value to the end of the list. |
int |
get(int index)
Returns value at specified index from the list. |
int |
length()
Returns length of list. |
int[] |
toArray()
Converts list to an array. |
byte[] |
toByteArray()
Returns list as byte array. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IntegerArrayList()
public IntegerArrayList(int initialCapacity)
public IntegerArrayList(int initialCapacity, int capacityIncrement)
Method Detail |
---|
public void add(int value)
value
- public int get(int index)
index
-
public int[] toArray()
public byte[] toByteArray()
public int length()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |