| java.util.AbstractList org.antlr.misc.IntArrayList
IntArrayList | public class IntArrayList extends AbstractList implements Cloneable(Code) | | An ArrayList based upon int members. Not quite a real implementation of a
modifiable list as I don't do, for example, add(index,element).
TODO: unused?
|
Field Summary | |
protected int[] | elements | protected int | n |
elements | protected int[] elements(Code) | | |
IntArrayList | public IntArrayList()(Code) | | |
IntArrayList | public IntArrayList(int initialCapacity)(Code) | | |
add | public boolean add(int o)(Code) | | |
capacity | public int capacity()(Code) | | |
contains | public boolean contains(int v)(Code) | | |
element | public int element(int i)(Code) | | |
elements | public int[] elements()(Code) | | |
ensureCapacity | public void ensureCapacity(int newCapacity)(Code) | | |
grow | protected void grow()(Code) | | |
set | public int set(int i, int newValue)(Code) | | Set the ith element. Like ArrayList, this does NOT affect size.
|
setSize | public void setSize(int newSize)(Code) | | |
Fields inherited from java.util.AbstractList | protected transient int modCount(Code)(Java Doc)
|
|
|