Package org.keycloak.models.map.common
Class StreamUtils.AbstractToPairSpliterator<K,V,M>
java.lang.Object
org.keycloak.models.map.common.StreamUtils.AbstractToPairSpliterator<K,V,M>
- All Implemented Interfaces:
Spliterator<StreamUtils.Pair<K,
V>>
- Enclosing class:
- StreamUtils
public abstract static class StreamUtils.AbstractToPairSpliterator<K,V,M>
extends Object
implements Spliterator<StreamUtils.Pair<K,V>>
-
Nested Class Summary
Nested classes/interfaces inherited from interface java.util.Spliterator
Spliterator.OfDouble, Spliterator.OfInt, Spliterator.OfLong, Spliterator.OfPrimitive<T extends Object,
T_CONS extends Object, T_SPLITR extends Spliterator.OfPrimitive<T, T_CONS, T_SPLITR>> -
Field Summary
Fields inherited from interface java.util.Spliterator
CONCURRENT, DISTINCT, IMMUTABLE, NONNULL, ORDERED, SIZED, SORTED, SUBSIZED
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
long
protected abstract void
nextKey()
boolean
tryAdvance
(Consumer<? super StreamUtils.Pair<K, V>> action) trySplit()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Spliterator
forEachRemaining, getComparator, getExactSizeIfKnown, hasCharacteristics
-
Field Details
-
streamIterator
-
mapper
-
flatMapIterator
-
currentKey
-
-
Constructor Details
-
AbstractToPairSpliterator
-
-
Method Details
-
nextKey
protected abstract void nextKey() -
tryAdvance
- Specified by:
tryAdvance
in interfaceSpliterator<K>
-
trySplit
- Specified by:
trySplit
in interfaceSpliterator<K>
-
estimateSize
public long estimateSize()- Specified by:
estimateSize
in interfaceSpliterator<K>
-
characteristics
public int characteristics()- Specified by:
characteristics
in interfaceSpliterator<K>
-