|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.collections.iterators.ProxyListIterator
public class ProxyListIterator
A proxy ListIterator which delegates its
methods to a proxy instance.
| Constructor Summary | |
|---|---|
ProxyListIterator()
Deprecated. Constructs a new ProxyListIterator that will not
function until setListIterator
is invoked. |
|
ProxyListIterator(java.util.ListIterator iterator)
Deprecated. Constructs a new ProxyListIterator that will use the
given list iterator. |
|
| Method Summary | |
|---|---|
void |
add(java.lang.Object o)
Deprecated. Invokes the underlying ListIterator.add(Object) method. |
java.util.ListIterator |
getListIterator()
Deprecated. Getter for property iterator. |
boolean |
hasNext()
Deprecated. Invokes the underlying ListIterator.hasNext() method. |
boolean |
hasPrevious()
Deprecated. Invokes the underlying ListIterator.hasPrevious() method. |
java.lang.Object |
next()
Deprecated. Invokes the underlying ListIterator.next() method. |
int |
nextIndex()
Deprecated. Invokes the underlying ListIterator.nextIndex() method. |
java.lang.Object |
previous()
Deprecated. Invokes the underlying ListIterator.previous() method. |
int |
previousIndex()
Deprecated. Invokes the underlying ListIterator.previousIndex() method. |
void |
remove()
Deprecated. Invokes the underlying ListIterator.remove() method. |
void |
set(java.lang.Object o)
Deprecated. Invokes the underlying ListIterator.set(Object) method. |
void |
setListIterator(java.util.ListIterator iterator)
Deprecated. 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(java.util.ListIterator iterator)
ProxyListIterator that will use the
given list iterator.
iterator - the list iterator to use| Method Detail |
|---|
public void add(java.lang.Object o)
ListIterator.add(Object) method.
add in interface java.util.ListIteratorjava.lang.NullPointerException - if the underlying iterator is nullpublic boolean hasNext()
ListIterator.hasNext() method.
hasNext in interface java.util.IteratorhasNext in interface java.util.ListIteratorjava.lang.NullPointerException - if the underlying iterator is nullpublic boolean hasPrevious()
ListIterator.hasPrevious() method.
hasPrevious in interface java.util.ListIteratorjava.lang.NullPointerException - if the underlying iterator is nullpublic java.lang.Object next()
ListIterator.next() method.
next in interface java.util.Iteratornext in interface java.util.ListIteratorjava.lang.NullPointerException - if the underlying iterator is nullpublic int nextIndex()
ListIterator.nextIndex() method.
nextIndex in interface java.util.ListIteratorjava.lang.NullPointerException - if the underlying iterator is nullpublic java.lang.Object previous()
ListIterator.previous() method.
previous in interface java.util.ListIteratorjava.lang.NullPointerException - if the underlying iterator is nullpublic int previousIndex()
ListIterator.previousIndex() method.
previousIndex in interface java.util.ListIteratorjava.lang.NullPointerException - if the underlying iterator is nullpublic void remove()
ListIterator.remove() method.
remove in interface java.util.Iteratorremove in interface java.util.ListIteratorjava.lang.NullPointerException - if the underlying iterator is nullpublic void set(java.lang.Object o)
ListIterator.set(Object) method.
set in interface java.util.ListIteratorjava.lang.NullPointerException - if the underlying iterator is nullpublic java.util.ListIterator getListIterator()
public void setListIterator(java.util.ListIterator iterator)
iterator - New value of property iterator.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||