T
- type of the class of the iterator.public class MultiResettableIterator<T> extends Object implements ResettableIterator<T>
Constructor and Description |
---|
MultiResettableIterator(ResettableIterator<T>[] iterators) |
Modifier and Type | Method and Description |
---|---|
protected I |
get(int index) |
boolean |
hasNext() |
protected void |
moveTo(int index) |
T |
next() |
void |
reset()
Resets the iterator so you can re-iterate over all elements.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining, hasNext, next, remove
public MultiResettableIterator(ResettableIterator<T>[] iterators)
protected void moveTo(int index)
public void reset()
ResettableIterator
reset
in interface ResettableIterator<T>
protected I get(int index)
Copyright © 2020 JBoss by Red Hat. All rights reserved.