java.util
public abstract class AbstractCollection<E> extends Object implements Collection<E>
Constructor Summary | |
---|---|
protected | AbstractCollection() |
Method Summary | |
---|---|
boolean | add(E o) |
<T extends E> boolean | addAll(Collection<T> c) |
void | clear() |
boolean | contains(Object o) |
<T> boolean | containsAll(Collection<T> c) |
boolean | isEmpty() |
abstract Iterator<E> | iterator() |
boolean | remove(Object o) |
<T> boolean | removeAll(Collection<T> c) |
<T> boolean | retainAll(Collection<T> c) |
abstract int | size() |
Object[] | toArray() |
<T> T[] | toArray(T[] a) |
String | toString() |