@GwtCompatible public abstract class ForwardingListIterator<E> extends ForwardingIterator<E> implements ListIterator <E>
| Modifier | Constructor and Description |
|---|---|
protected |
ForwardingListIterator()
Constructor for use by subclasses.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(E element)
|
protected abstract ListIterator |
delegate()
Returns the backing delegate instance that methods are forwarded to.
|
boolean |
hasPrevious()
|
int |
nextIndex()
|
E |
previous()
|
int |
previousIndex()
|
void |
set(E element)
|
hasNext, next, removetoStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waithasNext, next, removeforEachRemainingprotected ForwardingListIterator()
protected abstract ListIterator<E> delegate()
ForwardingObject
ForwardingSet.delegate() . Concrete subclasses override this method to supply the instance being decorated.
public void add(E element)
public boolean hasPrevious()
public int nextIndex()
public E previous()
public int previousIndex()
public void set(E element)