T
- The type of the instances managed by the Iterator
.Serializable
, Iterator<T>
public class SerializableIterator<T> extends Object implements Iterator<T>, Serializable
Iterator
serializable, else passing
Iterator
instances would cause an NotSerializableException
or
similar.Constructor | Description |
---|---|
SerializableIterator() |
Instantiates a new serializable iterator impl.
|
SerializableIterator(Iterator<T> aIterator) |
Instantiates a new serializable iterator impl.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
hasNext() |
|
T |
next() |
|
void |
remove() |
forEachRemaining
Copyright © 2021. All rights reserved.