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