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