Class FloatList
java.lang.Object
zombie.core.Styles.FloatList
- All Implemented Interfaces:
Serializable
Quickly hacked together expandable list of floats
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionFloatList constructor comment.FloatList
(int size) FloatList constructor comment.FloatList
(FloatList.ExpandStyle expandStylex, int int0) -
Method Summary
Modifier and TypeMethodDescriptionfloat
add
(float f) add method comment.void
addAll
(float[] float0) void
add method comment.float[]
array()
int
capacity()
Insert the method's description here.void
clear()
clear method comment.void
ensureCapacity
(int size) Ensure the list is at least 'size' elements big.float
get
(int index) get method comment.boolean
isEmpty()
isEmpty method comment.float
remove
(int idx) Remove an element and return it.int
size()
size method comment.void
void
Pack list to its minimum size.
-
Constructor Details
-
FloatList
public FloatList()FloatList constructor comment. -
FloatList
public FloatList(int size) FloatList constructor comment. -
FloatList
-
-
Method Details
-
add
public float add(float f) add method comment. -
remove
public float remove(int idx) Remove an element and return it.- Parameters:
idx
- The index of the element to remove- Returns:
- the removed value
-
addAll
public void addAll(float[] float0) -
addAll
add method comment. -
array
public float[] array() -
capacity
public int capacity()Insert the method's description here. Creation date: (11/03/2001 17:19:01) -
clear
public void clear()clear method comment. -
ensureCapacity
public void ensureCapacity(int size) Ensure the list is at least 'size' elements big. -
get
public float get(int index) get method comment. -
isEmpty
public boolean isEmpty()isEmpty method comment. -
size
public int size()size method comment. -
toArray
-
trimToSize
public void trimToSize()Pack list to its minimum size.
-