java.util
public class ArrayList<E> extends AbstractList<E> implements List<E>, RandomAccess, Cloneable, Serializable
Constructor Summary | |
---|---|
ArrayList(int initialCapacity) | |
ArrayList() | |
ArrayList(Collection<E> c) |
Method Summary | |
---|---|
boolean | add(E o) |
void | add(int index, E element) |
<T extends E> boolean | addAll(Collection<T> c) |
<T extends E> boolean | addAll(int index, Collection<T> c) |
void | clear() |
Object | clone() |
boolean | contains(Object elem) |
void | ensureCapacity(int minCapacity) |
E | get(int index) |
int | indexOf(Object elem) |
boolean | isEmpty() |
int | lastIndexOf(Object elem) |
E | remove(int index) |
protected void | removeRange(int fromIndex, int toIndex) |
E | set(int index, E element) |
int | size() |
Object[] | toArray() |
<T> T[] | toArray(T[] a) |
void | trimToSize() |