public class IntBufferIndexedInts extends Object implements IndexedInts, Comparable<IntBufferIndexedInts>
Modifier and Type | Field and Description |
---|---|
static ObjectStrategy<IntBufferIndexedInts> |
objectStrategy |
Constructor and Description |
---|
IntBufferIndexedInts(ByteBuffer buffer) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(IntBufferIndexedInts o) |
static IntBufferIndexedInts |
fromArray(int[] array) |
static IntBufferIndexedInts |
fromIntList(IntList intList) |
int |
get(int index) |
ByteBuffer |
getBuffer() |
Iterator<Integer> |
iterator() |
int |
size() |
public static ObjectStrategy<IntBufferIndexedInts> objectStrategy
public IntBufferIndexedInts(ByteBuffer buffer)
public static IntBufferIndexedInts fromArray(int[] array)
public static IntBufferIndexedInts fromIntList(IntList intList)
public int size()
size
in interface IndexedInts
public int get(int index)
get
in interface IndexedInts
public ByteBuffer getBuffer()
public int compareTo(IntBufferIndexedInts o)
compareTo
in interface Comparable<IntBufferIndexedInts>
Copyright © 2015. All rights reserved.