|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.groovy.util.FastArray
public class FastArray extends Object implements Cloneable
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public int size
public static final FastArray EMPTY_LIST
Constructor Detail |
---|
public FastArray(int initialCapacity)
public FastArray()
public FastArray(Collection c)
public FastArray(Object[] objects)
Method Detail |
---|
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()
public String toString()
toString
in class Object
|
Copyright © 2003-2010 The Codehaus. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |