| Modifier and Type | Method and Description |
|---|---|
IntNdArray |
IntNdArray.read(IntDataBuffer dst) |
static IntNdArray |
NdArrays.wrap(Shape shape,
IntDataBuffer buffer)
Wraps a buffer in an int N-dimensional array of a given shape.
|
IntNdArray |
IntNdArray.write(IntDataBuffer src) |
| Modifier and Type | Method and Description |
|---|---|
IntDataBuffer |
ByteDataBuffer.asInts()
Return this byte buffer as a buffer of ints.
|
IntDataBuffer |
IntDataBuffer.copyTo(DataBuffer<Integer> dst,
long size) |
default IntDataBuffer |
IntDataBuffer.narrow(long size) |
static IntDataBuffer |
DataBuffers.of(int... values)
Create a buffer from an array of ints into a data buffer.
|
static IntDataBuffer |
DataBuffers.of(int[] array,
boolean readOnly,
boolean makeCopy)
Create a buffer from an array of ints into a data buffer.
|
static IntDataBuffer |
DataBuffers.of(IntBuffer buf)
Wraps a JDK NIO
IntBuffer into a data buffer. |
default IntDataBuffer |
IntDataBuffer.offset(long index) |
static IntDataBuffer |
DataBuffers.ofInts(long size)
Creates a buffer of integers that can store up to
size values |
default IntDataBuffer |
IntDataBuffer.read(int[] dst)
Bulk get method, using int arrays.
|
IntDataBuffer |
IntDataBuffer.read(int[] dst,
int offset,
int length)
Bulk get method, using int arrays.
|
IntDataBuffer |
IntDataBuffer.setInt(int value,
long index)
Writes the given int into this buffer at the given index.
|
default IntDataBuffer |
IntDataBuffer.setObject(Integer value,
long index) |
IntDataBuffer |
IntDataBuffer.slice(long index,
long size) |
default IntDataBuffer |
IntDataBuffer.write(int[] src)
Bulk put method, using int arrays.
|
IntDataBuffer |
IntDataBuffer.write(int[] src,
int offset,
int length)
Bulk put method, using int arrays.
|
| Modifier and Type | Method and Description |
|---|---|
default DataBufferWindow<IntDataBuffer> |
IntDataBuffer.window(long size) |
| Modifier and Type | Method and Description |
|---|---|
default IntDataBuffer |
IntDataLayout.applyTo(S buffer) |
| Modifier and Type | Method and Description |
|---|---|
static <S extends DataBuffer<?>> |
DataBufferAdapterFactory.create(S buffer,
IntDataLayout<S> layout)
Creates an adapter that applies a integer data layout to the given buffer.
|
| Modifier and Type | Method and Description |
|---|---|
static IntDataBuffer |
NioDataBufferFactory.create(IntBuffer buffer) |
| Modifier and Type | Method and Description |
|---|---|
static IntDataBuffer |
RawDataBufferFactory.create(int[] array,
boolean readOnly) |
protected static IntDataBuffer |
RawDataBufferFactory.mapNativeInts(long address,
long size,
boolean readOnly) |
| Modifier and Type | Method and Description |
|---|---|
protected IntDataBuffer |
IntDenseNdArray.buffer() |
| Modifier and Type | Method and Description |
|---|---|
static IntNdArray |
IntDenseNdArray.create(IntDataBuffer buffer,
Shape shape) |
IntNdArray |
IntDenseNdArray.read(IntDataBuffer dst) |
IntNdArray |
IntDenseNdArray.write(IntDataBuffer src) |
| Constructor and Description |
|---|
IntDenseNdArray(IntDataBuffer buffer,
Shape shape) |
Copyright © 2015–2020. All rights reserved.