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 PrefixOps.PrefixBuffer
idx, isFirst -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(int value) (package private) voiddrainAll(IntConsumer action) (package private) voiddrainOne(IntConsumer action) (package private) booleaninit(Spliterator.OfInt 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 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:
acceptin interfaceIntConsumer
-