Groovy 1.7.0

## org.codehaus.groovy.util
Class FastArray

    java.lang.Object
      org.codehaus.groovy.util.FastArray

All Implemented Interfaces:
  Cloneable

    class FastArray
    extends Object

Field Summary
`static FastArray` | `EMPTY_LIST`
`int` | `size`

Constructor Summary
`FastArray(int initialCapacity)`
`FastArray()`
`FastArray(Collection c)`
`FastArray(Object[] objects)`

Method Summary
`void` | `add(Object o)`
`void` | `addAll(FastArray newData)`
`void` | `addAll(Object[] newData, int size)`
`void` | `addAll(List coll)`
`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 Object
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll

Field Detail

### EMPTY_LIST

    static final FastArray EMPTY_LIST

### size

    int size

Constructor Detail

### FastArray

    public FastArray(int initialCapacity)

### FastArray

    public FastArray()

### FastArray

    public FastArray(Collection c)

### FastArray

    public FastArray(Object[] objects)

Method Detail

### add

    public void add(Object o)

### addAll

    public void addAll(FastArray newData)

### addAll

    public void addAll(Object[] newData, int size)

### addAll

    public void addAll(List coll)

### clear

    public void clear()

### copy

    public FastArray copy()

### get

    public Object get(int index)

### getArray

    public Object[] getArray()

### isEmpty

    public boolean isEmpty()

### remove

    public void remove(int index)

### set

    public void set(int index, Object o)

### size

    public int size()

### toList

    public List toList()

### toString

    public String toString()

Copyright © 2003-2009 The Codehaus. All rights reserved.