Package aQute.lib.collections
Class EnumerationIterator<T>
java.lang.Object
aQute.lib.collections.EnumerationIterator<T>
- Type Parameters:
T
-
Simple facade for enumerators so they can be used in for loops.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
hasNext()
iterator()
static <T> EnumerationIterator
<T> iterator
(Enumeration<? extends T> e) next()
void
remove()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
EnumerationIterator
-
-
Method Details