java.util
public interface List<E> extends Collection<E>
| 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() |
| boolean | contains(Object o) |
| <T> boolean | containsAll(Collection<T> c) |
| boolean | equals(Object o) |
| E | get(int index) |
| int | hashCode() |
| int | indexOf(Object o) |
| boolean | isEmpty() |
| Iterator<E> | iterator() |
| int | lastIndexOf(Object o) |
| ListIterator<E> | listIterator() |
| ListIterator<E> | listIterator(int index) |
| boolean | remove(Object o) |
| E | remove(int index) |
| <T> boolean | removeAll(Collection<T> c) |
| <T> boolean | retainAll(Collection<T> c) |
| E | set(int index, E element) |
| int | size() |
| List<E> | subList(int fromIndex, int toIndex) |
| Object[] | toArray() |
| <T> T[] | toArray(T[] a) |