org.apache.commons.collections

Class ProxyIterator

Implemented Interfaces:
Iterator

public class ProxyIterator
extends ProxyIterator

A Proxy Iterator which delegates its methods to a proxy instance.
Version:
$Revision: 1.6.2.1 $ $Date: 2004/05/22 12:14:02 $
Author:
James Strachan
Since:
1.0
See Also:
ProxyListIterator

Constructor Summary

ProxyIterator()
Constructs a new ProxyIterator that will not function until setIterator(Iterator) is called.
ProxyIterator(Iterator iterator)
Constructs a new ProxyIterator that will use the given iterator.

Method Summary

Methods inherited from class org.apache.commons.collections.iterators.ProxyIterator

getIterator, hasNext, next, remove, setIterator

Constructor Details

ProxyIterator

public ProxyIterator()

ProxyIterator

public ProxyIterator(Iterator iterator)
Constructs a new ProxyIterator that will use the given iterator.
Parameters:
iterator - the underyling iterator

Copyright © 2001-2004 Apache Software Foundation. Documenation generated ${TODAY}.