|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.gjt.sp.util.IntegerArray
A simple collection that stores integers and grows automatically.
Constructor Summary | |
IntegerArray()
|
|
IntegerArray(int initialSize)
|
Method Summary | |
void |
add(int num)
|
void |
clear()
|
int |
get(int index)
|
int[] |
getArray()
|
int |
getSize()
|
void |
setSize(int len)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public IntegerArray()
public IntegerArray(int initialSize)
Method Detail |
public void add(int num)
public final int get(int index)
public final int getSize()
public final void setSize(int len)
public final void clear()
public int[] getArray()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |