T
- public class ChainingCollection<T> extends AbstractCollection<T>
Modifier and Type | Field and Description |
---|---|
protected Collection<T>[] |
collections |
Constructor and Description |
---|
ChainingCollection(Collection<T>... collections)
Constructor.
|
ChainingCollection(List<Collection<T>> collections)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Iterator<T> |
iterator() |
int |
size() |
add, addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
equals, hashCode
protected final Collection<T>[] collections
public ChainingCollection(Collection<T>... collections)
collections
- public ChainingCollection(List<Collection<T>> collections)
collections
- public Iterator<T> iterator()
iterator
in interface Iterable<T>
iterator
in interface Collection<T>
iterator
in class AbstractCollection<T>
public int size()
size
in interface Collection<T>
size
in class AbstractCollection<T>
This software is published under the BSD license. Copyright © 2003-${build.year}, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.