java.lang.Object | |
↳ | org.apache.commons.collections.iterators.ProxyListIterator |
This class is deprecated.
Use AbstractListIteratorDecorator. Will be removed in v4.0
A proxy ListIterator ListIterator which delegates its methods to a proxy instance.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a new
ProxyListIterator that will not
function until setListIterator
is invoked. | |||||||||||
Constructs a new
ProxyListIterator that will use the
given list iterator. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Invokes the underlying
add(Object) method. | |||||||||||
Getter for property iterator.
| |||||||||||
Invokes the underlying
hasNext() method. | |||||||||||
Invokes the underlying
hasPrevious() method. | |||||||||||
Invokes the underlying
next() method. | |||||||||||
Invokes the underlying
nextIndex() method. | |||||||||||
Invokes the underlying
previous() method. | |||||||||||
Invokes the underlying
previousIndex() method. | |||||||||||
Invokes the underlying
remove() method. | |||||||||||
Invokes the underlying
set(Object) method. | |||||||||||
Setter for property iterator.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
java.util.Iterator
| |||||||||||
From interface
java.util.ListIterator
|
Constructs a new ProxyListIterator
that will not
function until setListIterator
is invoked.
Constructs a new ProxyListIterator
that will use the
given list iterator.
iterator | the list iterator to use |
---|
Invokes the underlying add(Object)
method.
NullPointerException | if the underlying iterator is null |
---|
Getter for property iterator.
Invokes the underlying hasNext()
method.
NullPointerException | if the underlying iterator is null |
---|
Invokes the underlying hasPrevious()
method.
NullPointerException | if the underlying iterator is null |
---|
Invokes the underlying next()
method.
NullPointerException | if the underlying iterator is null |
---|
Invokes the underlying nextIndex()
method.
NullPointerException | if the underlying iterator is null |
---|
Invokes the underlying previous()
method.
NullPointerException | if the underlying iterator is null |
---|
Invokes the underlying previousIndex()
method.
NullPointerException | if the underlying iterator is null |
---|
Invokes the underlying remove()
method.
NullPointerException | if the underlying iterator is null |
---|
Invokes the underlying set(Object)
method.
NullPointerException | if the underlying iterator is null |
---|
Setter for property iterator.
iterator | New value of property iterator. |
---|