Package one.util.streamex
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 one.util.streamex.PrefixOps.PrefixBuffer
idx, isFirst
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(long value) (package private) void
drainAll
(LongConsumer action) (package private) void
drainOne
(LongConsumer action) (package private) boolean
init
(Spliterator.OfLong source) Methods inherited from class one.util.streamex.PrefixOps.PrefixBuffer
isInit
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.function.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:
accept
in interfaceLongConsumer
-