T
- The type of the instances managed by the ListIterator
.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 and Description |
---|
SerializableListIteratorImpl()
Instantiates a new serializable list iterator impl.
|
SerializableListIteratorImpl(ListIterator<T> aListIterator)
Instantiates a new serializable list iterator impl.
|
Modifier and Type | Method and Description |
---|---|
void |
add(T value) |
boolean |
hasNext() |
boolean |
hasPrevious() |
T |
next() |
int |
nextIndex() |
T |
previous() |
int |
previousIndex() |
void |
remove() |
void |
set(T value) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public SerializableListIteratorImpl()
public SerializableListIteratorImpl(ListIterator<T> aListIterator)
aListIterator
- the a 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 © 2017. All rights reserved.