public abstract class WrapperCollections.AbstractWrapperListIterator<E> extends WrapperCollections.AbstractWrapperIterator<E> implements ListIterator<E>
| Modifier | Constructor | Description |
|---|---|---|
protected |
AbstractWrapperListIterator(ListIterator<E> iter) |
Create an AbstractWrapperListIterator which delegates to the specified
ListIterator.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
add(E o) |
|
protected ListIterator<E> |
getDelegate() |
Return the Iterator to which all operations should be delegated to.
|
boolean |
hasPrevious() |
|
int |
nextIndex() |
|
E |
previous() |
|
int |
previousIndex() |
|
void |
set(E o) |
equals, hashCode, hasNext, next, remove, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waithasNext, next, removeforEachRemainingprotected AbstractWrapperListIterator(ListIterator<E> iter)
iter - the ListIterator to delegate all calls toprotected ListIterator<E> getDelegate()
getDelegate in class WrapperCollections.AbstractWrapperIterator<E>public void add(E o)
add in interface ListIterator<E>public boolean hasPrevious()
hasPrevious in interface ListIterator<E>public int nextIndex()
nextIndex in interface ListIterator<E>public E previous()
previous in interface ListIterator<E>public int previousIndex()
previousIndex in interface ListIterator<E>public void set(E o)
set in interface ListIterator<E>