Package org.biopax.paxtools.util
Class CompositeIterator<T>
java.lang.Object
org.biopax.paxtools.util.CompositeIterator<T>
- Type Parameters:
T- Base class type which all subiterator's type must extend from.
- All Implemented Interfaces:
Iterator<T>
A composite iterator that iterates over multiple iterators.
-
Constructor Summary
ConstructorsConstructorDescriptionCompositeIterator(Collection<? extends Collection<? extends T>> collections) This constructor creates an iterator instance from a set of collections -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
CompositeIterator
This constructor creates an iterator instance from a set of collections- Parameters:
collections- to be iterated over.
-
-
Method Details