public class ProxyListIterator extends Object implements ListIterator
ListIterator which delegates its
methods to a proxy instance.| Constructor and Description |
|---|
ProxyListIterator()
Deprecated.
Constructs a new
ProxyListIterator that will not
function until setListIterator
is invoked. |
ProxyListIterator(ListIterator iterator)
Deprecated.
Constructs a new
ProxyListIterator that will use the
given list iterator. |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Object o)
Deprecated.
Invokes the underlying
ListIterator.add(Object) method. |
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. |
Object |
next()
Deprecated.
Invokes the underlying
ListIterator.next() method. |
int |
nextIndex()
Deprecated.
Invokes the underlying
ListIterator.nextIndex() method. |
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(Object o)
Deprecated.
Invokes the underlying
ListIterator.set(Object) method. |
void |
setListIterator(ListIterator iterator)
Deprecated.
Setter for property iterator.
|
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 usepublic void add(Object o)
ListIterator.add(Object) method.add in interface ListIteratorNullPointerException - if the underlying iterator is nullpublic boolean hasNext()
ListIterator.hasNext() method.hasNext in interface IteratorhasNext in interface ListIteratorNullPointerException - if the underlying iterator is nullpublic boolean hasPrevious()
ListIterator.hasPrevious() method.hasPrevious in interface ListIteratorNullPointerException - if the underlying iterator is nullpublic Object next()
ListIterator.next() method.next in interface Iteratornext in interface ListIteratorNullPointerException - if the underlying iterator is nullpublic int nextIndex()
ListIterator.nextIndex() method.nextIndex in interface ListIteratorNullPointerException - if the underlying iterator is nullpublic Object previous()
ListIterator.previous() method.previous in interface ListIteratorNullPointerException - if the underlying iterator is nullpublic int previousIndex()
ListIterator.previousIndex() method.previousIndex in interface ListIteratorNullPointerException - if the underlying iterator is nullpublic void remove()
ListIterator.remove() method.remove in interface Iteratorremove in interface ListIteratorNullPointerException - if the underlying iterator is nullpublic void set(Object o)
ListIterator.set(Object) method.set in interface ListIteratorNullPointerException - if the underlying iterator is nullpublic ListIterator getListIterator()
public void setListIterator(ListIterator iterator)
iterator - New value of property iterator.Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.