Package de.aristaflow.adept2.util
Class CollectionTools.EnumerationIterator<T>
java.lang.Object
de.aristaflow.adept2.util.CollectionTools.EnumerationIterator<T>
- Type Parameters:
T- The type of the iterated elements.
- All Implemented Interfaces:
Iterator<T>
- Enclosing class:
- CollectionTools
An iterator wrapping an
Enumeration in an Iterator.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionEnumerationIterator(Enumeration<T> enumeration) Creates a newIteratorfor the designatedEnumeration. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining, remove
-
Field Details
-
enumeration
The wrapped enumeration.
-
-
Constructor Details
-
EnumerationIterator
Creates a newIteratorfor the designatedEnumeration.- Parameters:
enumeration- TheEnumerationwhich to wrap in anIterator.
-
-
Method Details