Example usage for Java com.badlogic.gdx.utils IntArray fields, constructors, methods, implement or subclass
The text is from its open source code.
IntArray() Creates an ordered array with a capacity of 16. | |
IntArray(int capacity) Creates an ordered array with the specified capacity. | |
IntArray(IntArray array) Creates a new array containing the elements in the specific array. | |
IntArray(int[] array) Creates a new ordered array containing the elements in the specified array. | |
IntArray(boolean ordered, int capacity) |
void | add(int value) |
boolean | contains(int value) |
int[] | ensureCapacity(int additionalCapacity) Increases the size of the backing array to accommodate the specified number of additional items. |
int | first() Returns the first item. |
int | get(int index) |
int | indexOf(int value) |
void | insert(int index, int value) |
int | peek() Returns the last item. |
void | removeRange(int start, int end) Removes the items between the specified indices, inclusive. |
boolean | removeValue(int value) |
int[] | shrink() Reduces the size of the backing array to the size of the actual items. |
int[] | toArray() |