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