net.cscott.jutil
public abstract class CollectionWrapper<E> extends Object implements Collection<E>
Version: $Id: CollectionWrapper.java,v 1.4 2006-10-30 19:58:05 cananian Exp $
| Constructor Summary | |
|---|---|
| protected | CollectionWrapper() Creates a CollectionWrapper. |
| Method Summary | |
|---|---|
| boolean | add(E o) |
| boolean | addAll(Collection<? extends E> c) |
| void | clear() |
| boolean | contains(Object o) |
| boolean | containsAll(Collection<?> c) |
| boolean | isEmpty() |
| Iterator<E> | iterator() |
| boolean | remove(Object o) |
| boolean | removeAll(Collection<?> c) |
| boolean | retainAll(Collection<?> c) |
| int | size() |
| Object[] | toArray() |
| <T> T[] | toArray(T[] a) |
| protected abstract Collection<E> | wrapped() Implementations should return the wrapped Collection here. |