edu.emory.mathcs.backport.java.util.concurrent
public class CopyOnWriteArrayList extends Object implements List, RandomAccess, Cloneable, Serializable
Constructor Summary | |
---|---|
CopyOnWriteArrayList() | |
CopyOnWriteArrayList(Collection c) | |
CopyOnWriteArrayList(Object[] array) |
Method Summary | |
---|---|
boolean | add(Object o) |
void | add(int index, Object element) |
boolean | addAll(Collection c) |
boolean | addAll(int index, Collection c) |
int | addAllAbsent(Collection c) |
boolean | addIfAbsent(Object o) |
void | clear() |
Object | clone() |
boolean | contains(Object o) |
boolean | containsAll(Collection c) |
boolean | equals(Object o) |
Object | get(int index) |
int | hashCode() |
int | indexOf(Object o) |
int | indexOf(Object o, int index) |
boolean | isEmpty() |
Iterator | iterator() |
int | lastIndexOf(Object o) |
int | lastIndexOf(Object o, int index) |
ListIterator | listIterator() |
ListIterator | listIterator(int index) |
boolean | remove(Object o) |
Object | remove(int index) |
boolean | removeAll(Collection c) |
boolean | retainAll(Collection c) |
Object | set(int index, Object element) |
int | size() |
List | subList(int fromIndex, int toIndex) |
Object[] | toArray() |
Object[] | toArray(Object[] a) |
String | toString() |