org.apache.commons.collections
Class EnumerationIterator
- Iterator
public class EnumerationIterator
Adapter to make Enumeration instances appear
to be Iterator instances.
EnumerationIterator()- Constructs a new
EnumerationIterator that will not
function until setEnumeration(Enumeration) is called.
|
EnumerationIterator(Enumeration enumeration)- Constructs a new
EnumerationIterator that provides
an iterator view of the given enumeration.
|
EnumerationIterator(Enumeration enumeration, Collection collection)- Constructs a new
EnumerationIterator that will remove
elements from the specified collection.
|
EnumerationIterator
public EnumerationIterator()
EnumerationIterator
public EnumerationIterator(Enumeration enumeration)
Constructs a new EnumerationIterator that provides
an iterator view of the given enumeration.
enumeration - the enumeration to use
EnumerationIterator
public EnumerationIterator(Enumeration enumeration,
Collection collection) Constructs a new EnumerationIterator that will remove
elements from the specified collection.
enumeration - the enumeration to usecollection - the collection to remove elements from
Copyright © 2001-2004 Apache Software Foundation. Documenation generated ${TODAY}.