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