public class RawDataBufferFactory extends Object
| Constructor and Description |
|---|
RawDataBufferFactory() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
canBeUsed() |
static BooleanDataBuffer |
create(boolean[] array,
boolean readOnly) |
static ByteDataBuffer |
create(byte[] array,
boolean readOnly) |
static DoubleDataBuffer |
create(double[] array,
boolean readOnly) |
static FloatDataBuffer |
create(float[] array,
boolean readOnly) |
static IntDataBuffer |
create(int[] array,
boolean readOnly) |
static LongDataBuffer |
create(long[] array,
boolean readOnly) |
static ShortDataBuffer |
create(short[] array,
boolean readOnly) |
protected static BooleanDataBuffer |
mapNativeBooleans(long address,
long size,
boolean readOnly) |
protected static ByteDataBuffer |
mapNativeBytes(long address,
long size,
boolean readOnly) |
protected static DoubleDataBuffer |
mapNativeDoubles(long address,
long size,
boolean readOnly) |
protected static FloatDataBuffer |
mapNativeFloats(long address,
long size,
boolean readOnly) |
protected static IntDataBuffer |
mapNativeInts(long address,
long size,
boolean readOnly) |
protected static LongDataBuffer |
mapNativeLongs(long address,
long size,
boolean readOnly) |
protected static ShortDataBuffer |
mapNativeShorts(long address,
long size,
boolean readOnly) |
public static boolean canBeUsed()
public static BooleanDataBuffer create(boolean[] array, boolean readOnly)
public static ByteDataBuffer create(byte[] array, boolean readOnly)
public static DoubleDataBuffer create(double[] array, boolean readOnly)
public static FloatDataBuffer create(float[] array, boolean readOnly)
public static IntDataBuffer create(int[] array, boolean readOnly)
public static LongDataBuffer create(long[] array, boolean readOnly)
public static ShortDataBuffer create(short[] array, boolean readOnly)
protected static BooleanDataBuffer mapNativeBooleans(long address, long size, boolean readOnly)
protected static ByteDataBuffer mapNativeBytes(long address, long size, boolean readOnly)
protected static DoubleDataBuffer mapNativeDoubles(long address, long size, boolean readOnly)
protected static FloatDataBuffer mapNativeFloats(long address, long size, boolean readOnly)
protected static IntDataBuffer mapNativeInts(long address, long size, boolean readOnly)
protected static LongDataBuffer mapNativeLongs(long address, long size, boolean readOnly)
protected static ShortDataBuffer mapNativeShorts(long address, long size, boolean readOnly)
Copyright © 2015–2020. All rights reserved.