|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.commons.collections.iterators.EnumerationIterator | +--org.apache.commons.collections.EnumerationIterator
Adapter to make Enumeration
instances appear
to be Iterator
instances.
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 enumeration,
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 |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EnumerationIterator()
EnumerationIterator
that will not
function until EnumerationIterator.setEnumeration(Enumeration)
is called.
public EnumerationIterator(java.util.Enumeration enumeration)
EnumerationIterator
that provides
an iterator view of the given enumeration.
enumeration
- the enumeration to usepublic EnumerationIterator(java.util.Enumeration enumeration, java.util.Collection collection)
EnumerationIterator
that will remove
elements from the specified collection.
enumeration
- the enumeration to usecollection
- the collection to remove elements from
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |