public class LongArray
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
add(long value) |
static LongArray |
createWithInitialCapacity(int initialCapacity) |
void |
dropTail(int n)
Removes the *last* n items of the array all at once.
|
long |
get(int index) |
boolean |
isEmpty() |
void |
set(int index,
long value) |
int |
size() |
public static LongArray createWithInitialCapacity(int initialCapacity)
public void add(long value)
public long get(int index)
public void set(int index, long value)
public int size()
public boolean isEmpty()
public void dropTail(int n)