|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectzombie.core.Styles.IntList
public class IntList
| Constructor Summary | |
|---|---|
IntList()
FloatList constructor comment. |
|
IntList(boolean fastExpand,
int size)
FloatList constructor comment. |
|
IntList(int size)
FloatList constructor comment. |
|
| Method Summary | |
|---|---|
int |
add(short f)
add method comment. |
void |
addAll(IntList f)
add method comment. |
void |
addAll(short[] f)
add method comment. |
int[] |
array()
toArray method comment. |
int |
capacity()
|
void |
clear()
clear method comment. |
void |
ensureCapacity(int size)
Ensure the list is at least 'size' elements big. |
int |
get(int index)
get method comment. |
boolean |
isEmpty()
isEmpty method comment. |
int |
remove(int idx)
Remove an element and return it. |
int |
size()
size method comment. |
short[] |
toArray(short[] 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 IntList()
public IntList(int size)
public IntList(boolean fastExpand,
int size)
| Method Detail |
|---|
public int add(short f)
public int remove(int idx)
idx - The index of the element to remove
public void addAll(short[] f)
public void addAll(IntList f)
public int[] array()
public int capacity()
public void clear()
public void ensureCapacity(int size)
public int get(int index)
public boolean isEmpty()
public int size()
public short[] toArray(short[] dest)
public void trimToSize()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||