- Type Parameters:
E - type of the class of the iterator.
- All Implemented Interfaces:
Iterator<E>
public class MultiIterator<E>
extends Object
Provides an Iterator that works over multiple underlying iterators.
-
Constructor Summary
Constructors
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
MultiIterator
public MultiIterator(Iterator<E>[] iterators)
-
Method Details
-
hasNext
public boolean hasNext()
- Specified by:
hasNext in interface Iterator<E>
-
-
moveTo
protected void moveTo(int index)
-