public final class SerialIterator<T>
extends java.lang.Object
implements java.util.Iterator<T>
Iterator that serializes the results of other iterators.| Constructor and Description |
|---|
SerialIterator(java.util.Iterator<T>... iterators) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
T |
next() |
void |
remove() |
@SafeVarargs public SerialIterator(java.util.Iterator<T>... iterators)