Keel 2.1RC2

org.apache.commons.collections
Class EnumerationIterator

java.lang.Object
  extended byorg.apache.commons.collections.iterators.EnumerationIterator
      extended byorg.apache.commons.collections.EnumerationIterator
All Implemented Interfaces:
java.util.Iterator

Deprecated. this class has been moved to the iterators subpackage

public class EnumerationIterator
extends EnumerationIterator

Adapter to make Enumeration instances appear to be Iterator instances.

Since:
1.0
Author:
,

Field Summary
 
Fields inherited from class org.apache.commons.collections.iterators.EnumerationIterator
 
Constructor Summary
EnumerationIterator()
          Deprecated. Constructs a new EnumerationIterator that will not function until EnumerationIterator.setEnumeration(Enumeration) is called.
EnumerationIterator(java.util.Enumeration enumeration)
          Deprecated. Constructs a new EnumerationIterator that provides an iterator view of the given enumeration.
EnumerationIterator(java.util.Enumeration enum, java.util.Collection collection)
          Deprecated. Constructs a new EnumerationIterator that will remove elements from the specified collection.
 
Methods inherited from class org.apache.commons.collections.iterators.EnumerationIterator
getEnumeration, hasNext, next, remove, setEnumeration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnumerationIterator

public EnumerationIterator()
Deprecated. 
Constructs a new EnumerationIterator that will not function until EnumerationIterator.setEnumeration(Enumeration) is called.


EnumerationIterator

public EnumerationIterator(java.util.Enumeration enumeration)
Deprecated. 
Constructs a new EnumerationIterator that provides an iterator view of the given enumeration.

Parameters:
enumeration - the enumeration to use

EnumerationIterator

public EnumerationIterator(java.util.Enumeration enum,
                           java.util.Collection collection)
Deprecated. 
Constructs a new EnumerationIterator that will remove elements from the specified collection.

Parameters:
enum - the enumeration to use
collection - the collection to remove elements form

Keel 2.1RC2

Please see keelframework.org for information about new Keel releases.