- java.lang.Object
-
- com.aoapps.collections.EnumerationIterator<E>
-
- All Implemented Interfaces:
Iterator<E>
public class EnumerationIterator<E> extends Object implements Iterator<E>
Bridges the gap between Enumeration and Iterator in the opposite direction of Collections.enumeration(Collection);- Author:
- AO Industries, Inc.
- See Also:
Collections.enumeration(java.util.Collection)
-
-
Constructor Summary
Constructors Constructor Description EnumerationIterator(Enumeration<E> enumerator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()Enext()voidremove()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Constructor Detail
-
EnumerationIterator
public EnumerationIterator(Enumeration<E> enumerator)
-
-