org.apache.commons.collections.iterators
Class ProxyListIterator
java.lang.Object
org.apache.commons.collections.iterators.ProxyListIterator
- ListIterator
public class ProxyListIterator
extends java.lang.Object
implements ListIterator
A proxy ListIterator
which delegates its
methods to a proxy instance.
$Revision: 1.9 $ $Date: 2004/02/18 00:59:50 $
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.
|
ProxyListIterator
public ProxyListIterator()
Constructs a new
ProxyListIterator
that will not
function until
setListIterator
is invoked.
ProxyListIterator
public ProxyListIterator(ListIterator iterator)
Constructs a new ProxyListIterator
that will use the
given list iterator.
iterator
- the list iterator to use
add
public void add(Object o)
Invokes the underlying ListIterator.add(Object)
method.
getListIterator
public ListIterator getListIterator()
Getter for property iterator.
- Value of property iterator.
hasNext
public boolean hasNext()
Invokes the underlying ListIterator.hasNext()
method.
hasPrevious
public boolean hasPrevious()
Invokes the underlying ListIterator.hasPrevious()
method.
next
public Object next()
Invokes the underlying ListIterator.next()
method.
nextIndex
public int nextIndex()
Invokes the underlying ListIterator.nextIndex()
method.
previous
public Object previous()
Invokes the underlying ListIterator.previous()
method.
previousIndex
public int previousIndex()
Invokes the underlying ListIterator.previousIndex()
method.
remove
public void remove()
Invokes the underlying ListIterator.remove()
method.
set
public void set(Object o)
Invokes the underlying ListIterator.set(Object)
method.
setListIterator
public void setListIterator(ListIterator iterator)
Setter for property iterator.
iterator
- New value of property iterator.
Copyright © 2001-2006 Apache Software Foundation. All Rights Reserved.