Package ch.njol.util.coll.iterator
Class CombinedIterator<T>
java.lang.Object
ch.njol.util.coll.iterator.CombinedIterator<T>
- All Implemented Interfaces:
Iterator<T>
An iterator that iterates over all elements of several iterables.
Elements are removable from this iterator if the source iterables support element removal, unless removal is blocked on creation.
-
Constructor Summary
ConstructorDescriptionCombinedIterator(Iterator<? extends Iterable<T>> iterators)
CombinedIterator(Iterator<? extends Iterable<T>> iterators, boolean removable)
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining