com.phoenixst.collections
public class CompositeCollection extends AbstractCollection implements Serializable
Collection view of a number of other
Collections. New elements are added to the last
Collection and elements are removed from the first
Collection in which they are found.
Since: 1.0
Version: $Revision: 1.11 $
| Constructor Summary | |
|---|---|
| CompositeCollection(Collection[] collections)
Creates a new CompositeCollection. | |
| CompositeCollection(Collection collections)
Creates a new CompositeCollection. | |
| CompositeCollection(Collection first, Collection second)
Creates a new CompositeCollection. | |
| Method Summary | |
|---|---|
| boolean | add(Object object) |
| boolean | addAll(Collection collection) |
| void | clear() |
| boolean | contains(Object object) |
| List | getOperands()
Returns an unmodifiable List of the argument
Collections being used by this
CollectionChain. |
| boolean | isEmpty() |
| Iterator | iterator() |
| boolean | remove(Object object) |
| boolean | removeAll(Collection collection) |
| boolean | retainAll(Collection collection) |
| int | size() |
CompositeCollection.CompositeCollection.CompositeCollection.List of the argument
Collections being used by this
CollectionChain.