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:
java.util.function.LongConsumer
- Enclosing class:
- PrefixOps.OfUnordLong
private final class PrefixOps.OfUnordLong.LongPrefixBuffer extends PrefixOps.PrefixBuffer implements java.util.function.LongConsumer
-
-
Field Summary
Fields Modifier and Type Field Description private long[]
buf
private long
prevBufferLast
-
Fields inherited from class one.util.streamex.PrefixOps.PrefixBuffer
idx, isFirst
-
-
Constructor Summary
Constructors Modifier Constructor Description private
LongPrefixBuffer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(long value)
(package private) void
drainAll(java.util.function.LongConsumer action)
(package private) void
drainOne(java.util.function.LongConsumer action)
(package private) boolean
init(java.util.Spliterator.OfLong source)
-
Methods inherited from class one.util.streamex.PrefixOps.PrefixBuffer
isInit
-
-
-
-
Method Detail
-
init
boolean init(java.util.Spliterator.OfLong source)
-
drainOne
void drainOne(java.util.function.LongConsumer action)
-
drainAll
void drainAll(java.util.function.LongConsumer action)
-
accept
public void accept(long value)
- Specified by:
accept
in interfacejava.util.function.LongConsumer
-
-