public class FastArray
extends java.lang.Object
implements java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
static FastArray |
EMPTY_LIST |
int |
size |
Constructor and Description |
---|
FastArray() |
FastArray(java.util.Collection c) |
FastArray(int initialCapacity) |
FastArray(java.lang.Object[] objects) |
Modifier and Type | Method and Description |
---|---|
void |
add(java.lang.Object o) |
void |
addAll(FastArray newData) |
void |
addAll(java.util.List coll) |
void |
addAll(java.lang.Object[] newData,
int size) |
void |
clear() |
FastArray |
copy() |
java.lang.Object |
get(int index) |
java.lang.Object[] |
getArray() |
boolean |
isEmpty() |
void |
remove(int index) |
void |
set(int index,
java.lang.Object o) |
int |
size() |
java.util.List |
toList() |
java.lang.String |
toString() |
public int size
public static final FastArray EMPTY_LIST
public FastArray(int initialCapacity)
public FastArray()
public FastArray(java.util.Collection c)
public FastArray(java.lang.Object[] objects)
public java.lang.Object get(int index)
public void add(java.lang.Object o)
public void set(int index, java.lang.Object o)
public int size()
public void clear()
public void addAll(FastArray newData)
public void addAll(java.lang.Object[] newData, int size)
public FastArray copy()
public boolean isEmpty()
public void addAll(java.util.List coll)
public void remove(int index)
public java.util.List toList()
public java.lang.Object[] getArray()
public java.lang.String toString()
toString
in class java.lang.Object