Package monq.jfa.util
Class IntArray
java.lang.Object
monq.jfa.util.IntArray
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
IntArray
public IntArray(int initialSize) -
IntArray
public IntArray()
-
-
Method Details
-
length
public int length() -
isEmpty
public boolean isEmpty() -
capacity
public int capacity() -
get
public int get(int i) -
getFromEnd
public int getFromEnd(int i) Index the array from the end.- Parameters:
i- in the range of [1, length()]- Returns:
- the element at index length()-i
-
add
-
setlength
-
setCapacity
-
toString
-