public static class SpinedBuffer.OfLong extends SpinedBuffer<E,T_ARR> implements LongConsumer
SpinedBuffer.Of<E>, SpinedBuffer.OfDouble, SpinedBuffer.OfInt, SpinedBuffer.OfLongLongConsumer.Util| Modifier and Type | Method and Description |
|---|---|
void |
accept(long i)
Performs operation on the given argument.
|
protected int |
arrayLength(long[] array) |
T_ARR |
asPrimitiveArray() |
long |
get(long index) |
PrimitiveIterator.OfLong |
iterator() |
long[] |
newArray(int size) |
protected long[][] |
newArrayArray(int size) |
clear, count, isEmptyprotected long[][] newArrayArray(int size)
newArrayArray in class SpinedBuffer<java.lang.Long,long[]>public long[] newArray(int size)
newArray in class SpinedBuffer<java.lang.Long,long[]>protected int arrayLength(long[] array)
arrayLength in class SpinedBuffer<java.lang.Long,long[]>public void accept(long i)
LongConsumeraccept in interface LongConsumeri - the input argumentpublic long get(long index)
public PrimitiveIterator.OfLong iterator()
iterator in interface java.lang.Iterable<java.lang.Long>iterator in class SpinedBuffer<java.lang.Long,long[]>public T_ARR asPrimitiveArray()