E - The type of the iterated values.public final class Serialized<E> extends AbstractBaseIterator<E>
Iterator that serializes the results of other Iterators. This means, it iterates the elements of each Iterator before moving on to
the next Iterator.| Constructor and Description |
|---|
Serialized(java.util.Iterator<E>... iterators)
Constructor of an
Iterator that serializes the elements of other Iterators. |
Serialized(java.util.Iterator<java.util.Iterator<E>> iteratorIterator)
Constructor of an
Iterator that serializes the elements of the Iterators iterated by the given Iterator. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
E |
next() |
equals, hashCode, remove@SafeVarargs public Serialized(java.util.Iterator<E>... iterators)
Iterator that serializes the elements of other Iterators.iterators - An array of Iterators.public Serialized(java.util.Iterator<java.util.Iterator<E>> iteratorIterator)
Iterator that serializes the elements of the Iterators iterated by the given Iterator.iteratorIterator - An Iterator that iterates other iterators of type <E>.public boolean hasNext()
public E next()