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 |
---|---|
void |
close() |
int |
compareTo(IntBufferIndexedInts o) |
void |
fill(int index,
int[] toFill) |
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>
public void fill(int index, int[] toFill)
fill
in interface IndexedInts
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2011–2015. All rights reserved.