Modifier and Type | Field | Description |
---|---|---|
static FastArray |
EMPTY_LIST |
|
int |
size |
Constructor | Description |
---|---|
FastArray() |
|
FastArray(int initialCapacity) |
|
FastArray(Object[] objects) |
|
FastArray(Collection c) |
Modifier and Type | Method | Description |
---|---|---|
void |
add(Object o) |
|
void |
addAll(Object[] newData,
int size) |
|
void |
addAll(List coll) |
|
void |
addAll(FastArray newData) |
|
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()