public class ContainerList.DelegatingListIterator extends AbstractDelegator.DelegatingIterator implements ListIterator<E>
list iterator
.last
Constructor and Description |
---|
DelegatingListIterator(ListIterator<E> delegate) |
Modifier and Type | Method and Description |
---|---|
void |
add(E o) |
ListIterator<E> |
getDelegate() |
boolean |
hasPrevious() |
int |
nextIndex() |
E |
previous() |
int |
previousIndex() |
void |
set(E o) |
hasNext, next, remove
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
hasNext, next, remove
forEachRemaining
public DelegatingListIterator(ListIterator<E> delegate)
public ListIterator<E> getDelegate()
getDelegate
in class AbstractDelegator.DelegatingIterator
public void add(E o)
add
in interface ListIterator<E>
public void set(E o)
set
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>
Copyright (c) 2011-2015 Eike Stepper (Berlin, Germany) and others.