|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.codehaus.groovy.util.FastArray
public class FastArray extends java.lang.Object
Field Summary | |
---|---|
static FastArray |
EMPTY_LIST
|
int |
size
|
Constructor Summary | |
FastArray(int initialCapacity)
|
|
FastArray()
|
|
FastArray(java.util.Collection c)
|
|
FastArray(java.lang.Object[] objects)
|
Method Summary | |
---|---|
void
|
add(java.lang.Object o)
|
void
|
addAll(FastArray newData)
|
void
|
addAll(java.lang.Object[] newData, int size)
|
void
|
addAll(java.util.List coll)
|
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()
|
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Field Detail |
---|
public static final FastArray EMPTY_LIST
public int size
Constructor Detail |
---|
public FastArray(int initialCapacity)
public FastArray()
public FastArray(java.util.Collection c)
public FastArray(java.lang.Object[] objects)
Method Detail |
---|
public void add(java.lang.Object o)
public void addAll(FastArray newData)
public void addAll(java.lang.Object[] newData, int size)
public void addAll(java.util.List coll)
public void clear()
public FastArray copy()
public java.lang.Object get(int index)
public java.lang.Object[] getArray()
public boolean isEmpty()
public void remove(int index)
public void set(int index, java.lang.Object o)
public int size()
public java.util.List toList()
public java.lang.String toString()
Groovy Documentation