|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
java.lang.Object | +--org.apache.commons.collections.iterators.ProxyListIterator
A proxy ListIterator which delegates its
methods to a proxy instance.
ProxyIterator| Constructor Summary | |
ProxyListIterator()
Constructs a new ProxyListIterator that will not
function until setListIterator
is invoked. |
|
ProxyListIterator(ListIterator iterator)
Constructs a new ProxyListIterator that will use the
given list iterator. |
|
| Method Summary | |
void |
add(Object o)
Invokes the underlying ListIterator.add(Object) method. |
ListIterator |
getListIterator()
Getter for property iterator. |
boolean |
hasNext()
Invokes the underlying ListIterator.hasNext() method. |
boolean |
hasPrevious()
Invokes the underlying ListIterator.hasPrevious() method. |
Object |
next()
Invokes the underlying ListIterator.next() method. |
int |
nextIndex()
Invokes the underlying ListIterator.nextIndex() method. |
Object |
previous()
Invokes the underlying ListIterator.previous() method. |
int |
previousIndex()
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ProxyListIterator()
ProxyListIterator that will not
function until setListIterator
is invoked.public ProxyListIterator(ListIterator iterator)
ProxyListIterator that will use the
given list iterator.iterator - the list iterator to use| Method Detail |
public void add(Object o)
ListIterator.add(Object) method.add in interface ListIteratorNullPointerException - if the underyling iterator is nullpublic ListIterator getListIterator()
public boolean hasNext()
ListIterator.hasNext() method.hasNext in interface ListIteratorNullPointerException - if the underyling iterator is nullpublic boolean hasPrevious()
ListIterator.hasPrevious() method.hasPrevious in interface ListIteratorNullPointerException - if the underyling iterator is nullpublic Object next()
ListIterator.next() method.next in interface ListIteratorNullPointerException - if the underyling iterator is nullpublic int nextIndex()
ListIterator.nextIndex() method.nextIndex in interface ListIteratorNullPointerException - if the underyling iterator is nullpublic Object previous()
ListIterator.previous() method.previous in interface ListIteratorNullPointerException - if the underyling iterator is nullpublic int previousIndex()
ListIterator.previousIndex() method.previousIndex in interface ListIteratorNullPointerException - if the underyling iterator is nullpublic void remove()
ListIterator.remove() method.remove in interface ListIteratorNullPointerException - if the underyling iterator is nullpublic void set(Object o)
ListIterator.set(Object) method.set in interface ListIteratorNullPointerException - if the underyling iterator is nullpublic void setListIterator(ListIterator iterator)
iterator - New value of property iterator.
|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||