java.lang.Object
org.gjt.sp.util.IntegerArray
A simple collection that stores integers and grows automatically.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
IntegerArray
public IntegerArray() -
IntegerArray
public IntegerArray(int initialSize)
-
-
Method Details
-
add
public void add(int num) -
get
public final int get(int index) -
isEmpty
public boolean isEmpty()Returnstrue
if this collection contains no elements.- Returns:
true
if this collection contains no elements- Since:
- jEdit 5.6pre1
-
getSize
public final int getSize() -
setSize
public final void setSize(int len) -
clear
public final void clear() -
getArray
public int[] getArray()
-