T - The type of the instances managed by the ListIterator.Serializable, Iterator<T>, ListIterator<T>public class SerializableListIteratorImpl<T> extends Object implements ListIterator<T>, Serializable
ListIterator serializable, else passing
ListIterator instances would cause an
NotSerializableException or similar. Use the
SerializeUtility.toSerializable(Object) to let you help to get
serializable instances.| Constructor | Description |
|---|---|
SerializableListIteratorImpl() |
Instantiates a new serializable list iterator impl.
|
SerializableListIteratorImpl(ListIterator<T> aListIterator) |
Instantiates a new serializable list iterator impl.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
add(T value) |
|
boolean |
hasNext() |
|
boolean |
hasPrevious() |
|
T |
next() |
|
int |
nextIndex() |
|
T |
previous() |
|
int |
previousIndex() |
|
void |
remove() |
|
void |
set(T value) |
forEachRemainingpublic SerializableListIteratorImpl()
public SerializableListIteratorImpl(ListIterator<T> aListIterator)
aListIterator - the list iteratorpublic void add(T value)
add in interface ListIterator<T>public boolean hasNext()
public boolean hasPrevious()
hasPrevious in interface ListIterator<T>public T next()
public int nextIndex()
nextIndex in interface ListIterator<T>public T previous()
previous in interface ListIterator<T>public int previousIndex()
previousIndex in interface ListIterator<T>public void remove()
public void set(T value)
set in interface ListIterator<T>Copyright © 2018. All rights reserved.