| Modifier and Type | Method and Description |
|---|---|
BooleanNdArray |
BooleanNdArray.read(BooleanDataBuffer dst) |
static BooleanNdArray |
NdArrays.wrap(Shape shape,
BooleanDataBuffer buffer)
Wraps a buffer in a boolean N-dimensional array of a given shape.
|
BooleanNdArray |
BooleanNdArray.write(BooleanDataBuffer src) |
| Modifier and Type | Method and Description |
|---|---|
BooleanDataBuffer |
ByteDataBuffer.asBooleans()
Return this byte buffer as a buffer of booleans.
|
BooleanDataBuffer |
BooleanDataBuffer.copyTo(DataBuffer<Boolean> dst,
long size) |
default BooleanDataBuffer |
BooleanDataBuffer.narrow(long size) |
static BooleanDataBuffer |
DataBuffers.of(boolean... values)
Create a buffer from an array of booleans into a data buffer.
|
static BooleanDataBuffer |
DataBuffers.of(boolean[] array,
boolean readOnly,
boolean makeCopy)
Create a buffer from an array of booleans into a data buffer.
|
static BooleanDataBuffer |
DataBuffers.ofBooleans(long size)
Creates a buffer of booleans that can store up to
size values |
default BooleanDataBuffer |
BooleanDataBuffer.offset(long index) |
default BooleanDataBuffer |
BooleanDataBuffer.read(boolean[] dst)
Bulk get method, using boolean arrays.
|
BooleanDataBuffer |
BooleanDataBuffer.read(boolean[] dst,
int offset,
int length)
Bulk get method, using boolean arrays.
|
BooleanDataBuffer |
BooleanDataBuffer.setBoolean(boolean value,
long index)
Writes the given boolean into this buffer at the given index.
|
default BooleanDataBuffer |
BooleanDataBuffer.setObject(Boolean value,
long index) |
BooleanDataBuffer |
BooleanDataBuffer.slice(long index,
long size) |
default BooleanDataBuffer |
BooleanDataBuffer.write(boolean[] src)
Bulk put method, using boolean arrays.
|
BooleanDataBuffer |
BooleanDataBuffer.write(boolean[] src,
int offset,
int length)
Bulk put method, using boolean arrays.
|
| Modifier and Type | Method and Description |
|---|---|
default DataBufferWindow<BooleanDataBuffer> |
BooleanDataBuffer.window(long size) |
| Modifier and Type | Method and Description |
|---|---|
default BooleanDataBuffer |
BooleanDataLayout.applyTo(S buffer) |
| Modifier and Type | Method and Description |
|---|---|
static <S extends DataBuffer<?>> |
DataBufferAdapterFactory.create(S buffer,
BooleanDataLayout<S> layout)
Creates an adapter that applies a boolean data layout to the given buffer.
|
| Modifier and Type | Method and Description |
|---|---|
static BooleanDataBuffer |
MiscDataBufferFactory.create(BitSet bitSet,
long numBits,
boolean readOnly) |
static BooleanDataBuffer |
MiscDataBufferFactory.create(boolean[] array,
boolean readOnly) |
| Modifier and Type | Method and Description |
|---|---|
static BooleanDataBuffer |
RawDataBufferFactory.create(boolean[] array,
boolean readOnly) |
protected static BooleanDataBuffer |
RawDataBufferFactory.mapNativeBooleans(long address,
long size,
boolean readOnly) |
| Modifier and Type | Method and Description |
|---|---|
protected BooleanDataBuffer |
BooleanDenseNdArray.buffer() |
| Modifier and Type | Method and Description |
|---|---|
static BooleanNdArray |
BooleanDenseNdArray.create(BooleanDataBuffer buffer,
Shape shape) |
BooleanNdArray |
BooleanDenseNdArray.read(BooleanDataBuffer dst) |
BooleanNdArray |
BooleanDenseNdArray.write(BooleanDataBuffer src) |
| Constructor and Description |
|---|
BooleanDenseNdArray(BooleanDataBuffer buffer,
Shape shape) |
Copyright © 2015–2020. All rights reserved.