Package one.util.streamex
Class PrefixOps.OfUnordRef<T>
java.lang.Object
one.util.streamex.Internals.CloneableSpliterator<T,PrefixOps<T,Spliterator<T>>>
one.util.streamex.PrefixOps<T,Spliterator<T>>
one.util.streamex.PrefixOps.OfUnordRef<T>
- All Implemented Interfaces:
Cloneable,Consumer<T>,Spliterator<T>
- Enclosing class:
PrefixOps<T,S extends Spliterator<T>>
static final class PrefixOps.OfUnordRef<T>
extends PrefixOps<T,Spliterator<T>>
implements Consumer<T>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class one.util.streamex.PrefixOps
PrefixOps.OfDouble, PrefixOps.OfInt, PrefixOps.OfLong, PrefixOps.OfRef<T>, PrefixOps.OfUnordInt, PrefixOps.OfUnordLong, PrefixOps.OfUnordRef<T>, PrefixOps.PrefixBufferNested classes/interfaces inherited from interface java.util.Spliterator
Spliterator.OfPrimitive<T,T_CONS, T_SPLITR extends Spliterator.OfPrimitive<T, T_CONS, T_SPLITR>> -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Tprivate AtomicReference<T> private PrefixOps.OfUnordRef<T>.RefPrefixBufferprivate final BinaryOperator<T> private final BinaryOperator<T> Fields inherited from interface java.util.Spliterator
CONCURRENT, DISTINCT, IMMUTABLE, NONNULL, ORDERED, SIZED, SORTED, SUBSIZED -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprivate voidvoidforEachRemaining(Consumer<? super T> action) booleantryAdvance(Consumer<? super T> action) trySplit()Methods inherited from class one.util.streamex.PrefixOps
characteristics, estimateSizeMethods inherited from class one.util.streamex.Internals.CloneableSpliterator
doCloneMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Spliterator
getComparator, getExactSizeIfKnown, hasCharacteristics
-
Field Details
-
localOp
-
accRef
-
acc
-
op
-
buffer
-
-
Constructor Details
-
OfUnordRef
OfUnordRef(Spliterator<T> source, BinaryOperator<T> op)
-
-
Method Details
-
trySplit
- Specified by:
trySplitin interfaceSpliterator<T>
-
tryAdvance
- Specified by:
tryAdvancein interfaceSpliterator<T>
-
forEachRemaining
- Specified by:
forEachRemainingin interfaceSpliterator<T>
-
drain
-
accept
-