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.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final AtomicBooleanprivate final Enumeration<? extends T> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanhasNext()iterator()static <T> EnumerationIterator<T>iterator(Enumeration<? extends T> e) next()voidremove()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface java.util.Iterator
forEachRemaining
-
Field Details
-
enumerator
-
done
-
-
Constructor Details
-
EnumerationIterator
-
-
Method Details