Package one.util.streamex
Class PrefixOps.OfUnordInt.IntPrefixBuffer
java.lang.Object
one.util.streamex.PrefixOps.PrefixBuffer
one.util.streamex.PrefixOps.OfUnordInt.IntPrefixBuffer
- All Implemented Interfaces:
IntConsumer
- Enclosing class:
PrefixOps.OfUnordInt
private final class PrefixOps.OfUnordInt.IntPrefixBuffer
extends PrefixOps.PrefixBuffer
implements IntConsumer
-
Field Summary
FieldsFields inherited from class one.util.streamex.PrefixOps.PrefixBuffer
idx, isFirst
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(int value) (package private) void
drainAll
(IntConsumer action) (package private) void
drainOne
(IntConsumer action) (package private) boolean
init
(Spliterator.OfInt 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.IntConsumer
andThen
-
Field Details
-
buf
private final int[] buf -
prevBufferLast
private int prevBufferLast
-
-
Constructor Details
-
IntPrefixBuffer
private IntPrefixBuffer()
-
-
Method Details
-
init
-
drainOne
-
drainAll
-
accept
public void accept(int value) - Specified by:
accept
in interfaceIntConsumer
-