public class SimpleArrayList<E> extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_ARRAY_SIZE |
| Constructor and Description |
|---|
SimpleArrayList() |
SimpleArrayList(int capacity) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(E e,
com.oracle.truffle.api.nodes.Node node,
com.oracle.truffle.api.profiles.InlinedBranchProfile growProfile) |
void |
addUncached(E e) |
void |
addUnchecked(E e) |
static <E> SimpleArrayList<E> |
create(long maxAssumedLength) |
static <E> SimpleArrayList<E> |
createEmpty() |
E |
get(int index) |
Object |
pop() |
void |
set(int index,
E elem) |
int |
size() |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
String |
toString() |
public static final int MAX_ARRAY_SIZE
public SimpleArrayList()
public SimpleArrayList(int capacity)
public static <E> SimpleArrayList<E> create(long maxAssumedLength)
public static <E> SimpleArrayList<E> createEmpty()
public void add(E e, com.oracle.truffle.api.nodes.Node node, com.oracle.truffle.api.profiles.InlinedBranchProfile growProfile)
public void addUncached(E e)
public void addUnchecked(E e)
public E get(int index)
public void set(int index,
E elem)
public Object pop()
public int size()
public Object[] toArray()
public <T> T[] toArray(T[] a)