E - type of the class of the iterator.public class MultiResettableIterator<E> extends Object implements ResettableIterator<E>
| Constructor and Description |
|---|
MultiResettableIterator(ResettableIterator<E>[] iterators) |
| Modifier and Type | Method and Description |
|---|---|
protected I |
get(int index) |
boolean |
hasNext() |
protected void |
moveTo(int index) |
E |
next() |
void |
reset()
Resets the iterator so that you can iterate over all elements from your current position.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemaining, hasNext, next, removepublic MultiResettableIterator(ResettableIterator<E>[] iterators)
protected void moveTo(int index)
public void reset()
ResettableIteratorreset in interface ResettableIterator<E>protected I get(int index)
Copyright © 2022 The Apache Software Foundation. All rights reserved.