OSGi Alliance http://www.osgi.org/
- java.lang.Object
-
- aQute.lib.collections.EnumerationIterator<T>
-
- Type Parameters:
T -
- All Implemented Interfaces:
- java.lang.Iterable<T>, java.util.Iterator<T>
public class EnumerationIterator<T>
extends java.lang.Object
implements java.lang.Iterable<T>, java.util.Iterator<T>
Simple facade for enumerators so they can be used in for loops.
-
-
Method Summary
-
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
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNext in interface java.util.Iterator<T>
-
next
public T next()
- Specified by:
next in interface java.util.Iterator<T>
-
remove
public void remove()
- Specified by:
remove in interface java.util.Iterator<T>
Copyright (c) OSGi Alliance (2014, 2020). All Rights Reserved.
Copyright (c) OSGi Alliance (2014, 2020). All Rights Reserved.