java.lang.Object | +--org.apache.commons.collections.iterators.ProxyListIteratorAll Implemented Interfaces:
Constructs a new ProxyListIterator that will not function until #setListIterator(ListIterator) setListIterator is invoked. |
ProxyListIterator(ListIterator iterator) Constructs a new ProxyListIterator that will use the given list iterator. |
void | add(Object o) Invokes the underlying ListIterator#add(Object) method. |
ListIterator | Getter for property iterator. |
boolean | hasNext() Invokes the underlying ListIterator#hasNext() method. |
boolean | Invokes the underlying ListIterator#hasPrevious() method. |
Object | next() Invokes the underlying ListIterator#next() method. |
int | Invokes the underlying ListIterator#nextIndex() method. |
Object | previous() Invokes the underlying ListIterator#previous() method. |
int | Invokes the underlying ListIterator#previousIndex() method. |
void | remove() Invokes the underlying ListIterator#remove() method. |
void | set(Object o) Invokes the underlying ListIterator#set(Object) method. |
void | setListIterator(ListIterator iterator) Setter for property iterator. |
public ProxyListIterator()
ProxyListIterator
that will not
function until setListIterator(ListIterator) setListIterator
is invoked.
public ProxyListIterator(ListIterator iterator)
ProxyListIterator
that will use the
given list iterator.
public void add(Object o)
- if the underlying iterator is nullpublic ListIterator getListIterator()
public boolean hasNext()
- if the underlying iterator is nullpublic boolean hasPrevious()
- if the underlying iterator is nullpublic Object next()
- if the underlying iterator is nullpublic int nextIndex()
- if the underlying iterator is nullpublic Object previous()
- if the underlying iterator is nullpublic int previousIndex()
- if the underlying iterator is nullpublic void remove()
- if the underlying iterator is nullpublic void set(Object o)
- if the underlying iterator is nullpublic void setListIterator(ListIterator iterator)