org.apache.commons.collections
Class ProxyIterator
java.lang.Object
|
+--org.apache.commons.collections.ProxyIterator
- All Implemented Interfaces:
- Iterator
- Direct Known Subclasses:
- FilterIterator, TransformIterator
- public class ProxyIterator
- extends Object
- implements Iterator
A Proxy Iterator
which delegates its methods to a proxy instance.
- Version:
- $Revision: 1.3 $ $Date: 2002/02/25 23:53:20 $
- Author:
- James Strachan
- See Also:
ProxyListIterator
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProxyIterator
public ProxyIterator()
ProxyIterator
public ProxyIterator(Iterator iterator)
getIterator
public Iterator getIterator()
- Getter for property iterator.
- Returns:
- Value of property iterator.
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator
next
public Object next()
- Specified by:
next
in interface Iterator
remove
public void remove()
- Specified by:
remove
in interface Iterator
setIterator
public void setIterator(Iterator iterator)
- Setter for property iterator.
- Parameters:
iterator
- New value of property iterator.
Copyright © 2001 Apache Software Foundation. Documenation generated April 2 2002.