public class IntBuffer extends BaseDataBuffer
DataBuffer.AllocationMode, DataBuffer.Type, DataBuffer.TypeExallocationMode, attached, constant, elementSize, indexer, length, offset, originalBuffer, originalOffset, parentWorkspace, pointer, TO_STRING_MAX_ELEMENTS, trackingPoint, type, underlyingLength, workspaceGenerationId, wrappedDataBuffer| Constructor and Description |
|---|
IntBuffer(byte[] data,
int length) |
IntBuffer(ByteBuffer buffer,
int length) |
IntBuffer(ByteBuffer buffer,
int length,
long offset) |
IntBuffer(DataBuffer underlyingBuffer,
long length,
long offset) |
IntBuffer(double[] data) |
IntBuffer(double[] data,
boolean copy) |
IntBuffer(double[] data,
boolean copy,
long offset) |
IntBuffer(float[] data) |
IntBuffer(float[] data,
boolean copy) |
IntBuffer(float[] data,
boolean copy,
long offset) |
IntBuffer(int[] data) |
IntBuffer(int[] data,
boolean copy) |
IntBuffer(int[] data,
boolean copy,
long offset) |
IntBuffer(int[] ints,
boolean copy,
MemoryWorkspace workspace) |
IntBuffer(int length,
int elementSize) |
IntBuffer(int length,
int elementSize,
long offset) |
IntBuffer(long length) |
IntBuffer(long length,
boolean initialize) |
IntBuffer(long length,
boolean initialize,
MemoryWorkspace workspace) |
IntBuffer(org.bytedeco.javacpp.Pointer pointer,
org.bytedeco.javacpp.indexer.Indexer indexer,
long length)
Meant for creating another view of a buffer
|
| Modifier and Type | Method and Description |
|---|---|
DataBuffer |
create(double[] data)
Create the data buffer
with respect to the given byte buffer
|
DataBuffer |
create(float[] data)
Create the data buffer
with respect to the given byte buffer
|
DataBuffer |
create(int[] data)
Create the data buffer
with respect to the given byte buffer
|
protected DataBuffer |
create(long length)
Create with length
|
protected void |
initTypeAndSize()
Initialize the opType of this buffer
|
addReferencing, address, addressPointer, allocationMode, array, asBytes, asDouble, asFloat, asInt, asLong, asNio, asNioDouble, asNioFloat, asNioInt, asNioLong, assign, assign, assign, assign, assign, assign, assign, assign, assign, assign, capacity, copyAtStride, dataType, destroy, dirty, doReadObject, dup, equals, flush, fromFloat, getDouble, getDoublesAt, getDoublesAt, getElementSize, getFloat, getFloatsAt, getFloatsAt, getGenerationId, getInt, getIntsAt, getIntsAt, getLong, getLongsAt, getLongsAt, getNumber, getParentWorkspace, getShort, getTrackingPoint, hashCode, indexer, isAttached, isConstant, isInScope, isPersist, length, offset, originalDataBuffer, originalOffset, persist, pointer, pointerIndexerByGlobalType, put, put, put, put, putByGlobalType, read, read, readContent, reallocate, references, removeReferencing, sameUnderlyingData, setConstant, setData, setData, setData, setData, setIndexer, setNioBuffer, setTrackingPoint, toFloat, toString, underlyingDataBuffer, underlyingLength, unPersist, wrappedBuffer, write, writepublic IntBuffer(org.bytedeco.javacpp.Pointer pointer,
org.bytedeco.javacpp.indexer.Indexer indexer,
long length)
pointer - the underlying buffer to create a view fromindexer - the indexer for the pointerlength - the length of the viewpublic IntBuffer(long length)
public IntBuffer(long length,
boolean initialize)
public IntBuffer(long length,
boolean initialize,
MemoryWorkspace workspace)
public IntBuffer(int[] ints,
boolean copy,
MemoryWorkspace workspace)
public IntBuffer(ByteBuffer buffer, int length, long offset)
public IntBuffer(byte[] data,
int length)
public IntBuffer(double[] data,
boolean copy)
public IntBuffer(double[] data,
boolean copy,
long offset)
public IntBuffer(float[] data,
boolean copy)
public IntBuffer(float[] data,
boolean copy,
long offset)
public IntBuffer(int[] data,
boolean copy,
long offset)
public IntBuffer(int length,
int elementSize)
public IntBuffer(int length,
int elementSize,
long offset)
public IntBuffer(DataBuffer underlyingBuffer, long length, long offset)
public IntBuffer(ByteBuffer buffer, int length)
public IntBuffer(int[] data)
public IntBuffer(double[] data)
public IntBuffer(float[] data)
public IntBuffer(int[] data,
boolean copy)
protected DataBuffer create(long length)
BaseDataBuffercreate in class BaseDataBufferlength - a databuffer of the same opType as
this with the given lengthpublic DataBuffer create(double[] data)
BaseDataBuffercreate in class BaseDataBufferdata - the buffer to createpublic DataBuffer create(float[] data)
BaseDataBuffercreate in class BaseDataBufferdata - the buffer to createpublic DataBuffer create(int[] data)
BaseDataBuffercreate in class BaseDataBufferdata - the buffer to createprotected void initTypeAndSize()
initTypeAndSize in class BaseDataBufferCopyright © 2018. All rights reserved.