org.apache.commons.collections
Class IteratorEnumeration

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

Deprecated. this class has been moved to the iterators subpackage

public class IteratorEnumeration
extends IteratorEnumeration

Adapter to make an Iterator instance appear to be an Enumeration instances

Since:
1.0
Author:
James Strachan

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

Constructor Detail

IteratorEnumeration

public IteratorEnumeration()
Deprecated. 
Constructs a new IteratorEnumeration that will not function until setIterator is invoked.


IteratorEnumeration

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

Parameters:
iterator - the iterator to use


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