Example usage for Java com.badlogic.gdx.utils ShortArray fields, constructors, methods, implement or subclass
The text is from its open source code.
ShortArray() Creates an ordered array with a capacity of 16. | |
ShortArray(int capacity) Creates an ordered array with the specified capacity. | |
ShortArray(ShortArray array) Creates a new array containing the elements in the specific array. | |
ShortArray(short[] array) Creates a new ordered array containing the elements in the specified array. |
void | add(int value) Casts the specified value to short and adds it. |
void | add(short value) |
void | clear() |
short[] | ensureCapacity(int additionalCapacity) Increases the size of the backing array to accommodate the specified number of additional items. |
short | get(int index) |
short | removeIndex(int index) Removes and returns the item at the specified index. |
short[] | toArray() |