Package aQute.lib.collections
Class Enumerations.EnumerationSpliterator<T,R>
java.lang.Object
aQute.lib.collections.Enumerations.EnumerationSpliterator<T,R>
- All Implemented Interfaces:
Enumeration<R>
- Enclosing class:
- Enumerations
private static class Enumerations.EnumerationSpliterator<T,R>
extends Object
implements Enumeration<R>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionEnumerationSpliterator
(Spliterator<? extends T> spliterator, Function<? super T, ? extends R> mapper, Predicate<? super R> filter) -
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.util.Enumeration
asIterator
-
Field Details
-
spliterator
-
mapper
-
filter
-
hasNext
private boolean hasNext -
next
-
-
Constructor Details
-
EnumerationSpliterator
-
-
Method Details
-
hasMoreElements
public boolean hasMoreElements()- Specified by:
hasMoreElements
in interfaceEnumeration<T>
-
nextElement
- Specified by:
nextElement
in interfaceEnumeration<T>
-