org.apache.commons.collections
Class ProxyListIterator

java.lang.Object
  |
  +--org.apache.commons.collections.ProxyListIterator
All Implemented Interfaces:
Iterator, ListIterator
Direct Known Subclasses:
FilterListIterator

public class ProxyListIterator
extends Object
implements ListIterator

A proxy ListIterator which delegates its methods to a proxy instance.

Version:
$Revision: 1.1 $ $Date: 2002/02/25 23:53:20 $
Author:
Rodney Waldhoff
See Also:
ProxyIterator

Constructor Summary
ProxyListIterator()
           
ProxyListIterator(ListIterator iterator)
           
 
Method Summary
 void add(Object o)
           
 ListIterator getListIterator()
          Getter for property iterator.
 boolean hasNext()
           
 boolean hasPrevious()
           
 Object next()
           
 int nextIndex()
           
 Object previous()
           
 int previousIndex()
           
 void remove()
           
 void set(Object o)
           
 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

ProxyListIterator

public ProxyListIterator()

ProxyListIterator

public ProxyListIterator(ListIterator iterator)
Method Detail

add

public void add(Object o)
Specified by:
add in interface ListIterator

getListIterator

public ListIterator getListIterator()
Getter for property iterator.
Returns:
Value of property iterator.

hasNext

public boolean hasNext()
Specified by:
hasNext in interface ListIterator

hasPrevious

public boolean hasPrevious()
Specified by:
hasPrevious in interface ListIterator

next

public Object next()
Specified by:
next in interface ListIterator

nextIndex

public int nextIndex()
Specified by:
nextIndex in interface ListIterator

previous

public Object previous()
Specified by:
previous in interface ListIterator

previousIndex

public int previousIndex()
Specified by:
previousIndex in interface ListIterator

remove

public void remove()
Specified by:
remove in interface ListIterator

set

public void set(Object o)
Specified by:
set in interface ListIterator

setListIterator

public void setListIterator(ListIterator iterator)
Setter for property iterator.
Parameters:
iterator - New value of property iterator.


Copyright © 2001 Apache Software Foundation. Documenation generated April 2 2002.