Class CompositeIterator<T>
java.lang.Object
ch.obermuhlner.scriptengine.java.util.CompositeIterator<T>
- Type Parameters:
T- the type of elements returned by this iterator
- All Implemented Interfaces:
Iterator<T>
A
Iterator that will iterate over several iterators.-
Constructor Summary
ConstructorsConstructorDescriptionCompositeIterator(Iterator<? extends T>... iterators) Creates aCompositeIteratorover the specified iterators. -
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, remove