Class PrefixOps.OfUnordLong.LongPrefixBuffer
java.lang.Object
one.util.streamex.PrefixOps.PrefixBuffer
one.util.streamex.PrefixOps.OfUnordLong.LongPrefixBuffer
- All Implemented Interfaces:
LongConsumer
- Enclosing class:
PrefixOps.OfUnordLong
private final class PrefixOps.OfUnordLong.LongPrefixBuffer
extends PrefixOps.PrefixBuffer
implements LongConsumer
-
Field Summary
FieldsFields inherited from class PrefixOps.PrefixBuffer
idx, isFirst -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(long value) (package private) voiddrainAll(LongConsumer action) (package private) voiddrainOne(LongConsumer action) (package private) booleaninit(Spliterator.OfLong source) Methods inherited from class PrefixOps.PrefixBuffer
isInitMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface LongConsumer
andThen
-
Field Details
-
buf
private final long[] buf -
prevBufferLast
private long prevBufferLast
-
-
Constructor Details
-
LongPrefixBuffer
private LongPrefixBuffer()
-
-
Method Details
-
init
-
drainOne
-
drainAll
-
accept
public void accept(long value) - Specified by:
acceptin interfaceLongConsumer
-