|
||||||
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 useMethod Detail |
public void add(Object o)
ListIterator.add(Object)
method.public boolean hasNext()
ListIterator.hasNext()
method.public boolean hasPrevious()
ListIterator.hasPrevious()
method.public Object next()
ListIterator.next()
method.public int nextIndex()
ListIterator.nextIndex()
method.public Object previous()
ListIterator.previous()
method.public int previousIndex()
ListIterator.previousIndex()
method.public void remove()
ListIterator.remove()
method.public void set(Object o)
ListIterator.set(Object)
method.public ListIterator getListIterator()
public 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 |