org.apache.commons.collections
Class ProxyIterator

java.lang.Object
  |
  +--org.apache.commons.collections.iterators.ProxyIterator
        |
        +--org.apache.commons.collections.ProxyIterator
All Implemented Interfaces:
java.util.Iterator

Deprecated. this class has been moved to the iterators subpackage

public class ProxyIterator
extends ProxyIterator

A Proxy Iterator which delegates its methods to a proxy instance.

Since:
1.0
Version:
$Revision: 1.6.2.1 $ $Date: 2004/05/22 12:14:02 $
Author:
James Strachan
See Also:
ProxyListIterator

Constructor Summary
ProxyIterator()
          Deprecated. Constructs a new ProxyIterator that will not function until ProxyIterator.setIterator(Iterator) is called.
ProxyIterator(java.util.Iterator iterator)
          Deprecated. Constructs a new ProxyIterator that will use the given iterator.
 
Methods inherited from class org.apache.commons.collections.iterators.ProxyIterator
getIterator, hasNext, next, remove, setIterator
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProxyIterator

public ProxyIterator()
Deprecated. 
Constructs a new ProxyIterator that will not function until ProxyIterator.setIterator(Iterator) is called.


ProxyIterator

public ProxyIterator(java.util.Iterator iterator)
Deprecated. 
Constructs a new ProxyIterator that will use the given iterator.

Parameters:
iterator - the underyling iterator


Copyright © 2001-2004 The Apache Software Foundation. All Rights Reserved.