Package org.codehaus.groovy.util
Class FastArray
java.lang.Object
org.codehaus.groovy.util.FastArray
- All Implemented Interfaces:
Serializable
,Cloneable
public class FastArray extends Object implements Cloneable, Serializable
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description static FastArray
EMPTY_LIST
int
size
-
Constructor Summary
-
Method Summary
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()
-
Field Details
-
size
public int size -
EMPTY_LIST
-
-
Constructor Details
-
Method Details