|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectzombie.core.Styles.FloatList
public class FloatList
Quickly hacked together expandable list of floats
Constructor Summary | |
---|---|
FloatList()
FloatList constructor comment. |
|
FloatList(boolean fastExpand,
int size)
FloatList constructor comment. |
|
FloatList(int size)
FloatList constructor comment. |
Method Summary | |
---|---|
float |
add(float f)
add method comment. |
void |
addAll(float[] f)
add method comment. |
void |
addAll(FloatList f)
add method comment. |
float[] |
array()
toArray method comment. |
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 |
toArray(java.lang.Object[] dest)
Stash everything in an array. |
void |
trimToSize()
Pack list to its minimum size. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FloatList()
public FloatList(int size)
public FloatList(boolean fastExpand, int size)
Method Detail |
---|
public float add(float f)
public float remove(int idx)
idx
- The index of the element to remove
public void addAll(float[] f)
public void addAll(FloatList f)
public float[] array()
public int capacity()
public void clear()
public void ensureCapacity(int size)
public float get(int index)
public boolean isEmpty()
public int size()
public void toArray(java.lang.Object[] dest)
public void trimToSize()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |