
T - public final class UnmodifiableListIterator<T> extends Object implements ListIterator<T>
| Modifier and Type | Field and Description |
|---|---|
private ListIterator<T> |
inner
Real iterator
|
| Constructor and Description |
|---|
UnmodifiableListIterator(ListIterator<T> inner)
Constructor.
|
private ListIterator<T> inner
public UnmodifiableListIterator(ListIterator<T> inner)
inner - Real iterator to proxy.public boolean hasNext()
public T next()
public boolean hasPrevious()
hasPrevious in interface ListIterator<T>public T previous()
previous in interface ListIterator<T>public int nextIndex()
nextIndex in interface ListIterator<T>public int previousIndex()
previousIndex in interface ListIterator<T>public void remove()
public void add(T e)
add in interface ListIterator<T>public void set(T e)
set in interface ListIterator<T>