public class IntBuffer extends BaseDataBuffer
DataBuffer.AllocationMode, DataBuffer.TypeallocationMode, constant, dirty, doubleData, elementSize, floatData, indexer, intData, isPersist, length, offset, originalBuffer, originalOffset, pointer, referencing, trackingPoint, type, underlyingLength, wrappedBuffer, wrappedDataBuffer| Modifier | Constructor and Description |
|---|---|
|
IntBuffer(byte[] data,
int length) |
|
IntBuffer(ByteBuffer buffer,
int length) |
|
IntBuffer(ByteBuffer buffer,
int length,
int offset) |
|
IntBuffer(io.netty.buffer.ByteBuf buf,
int length) |
protected |
IntBuffer(io.netty.buffer.ByteBuf buf,
int length,
int offset) |
|
IntBuffer(DataBuffer underlyingBuffer,
long length,
long offset) |
|
IntBuffer(double[] data) |
|
IntBuffer(double[] data,
boolean copy) |
|
IntBuffer(double[] data,
boolean copy,
int offset) |
|
IntBuffer(float[] data) |
|
IntBuffer(float[] data,
boolean copy) |
|
IntBuffer(float[] data,
boolean copy,
int offset) |
|
IntBuffer(int[] data) |
|
IntBuffer(int[] data,
boolean copy) |
|
IntBuffer(int[] data,
boolean copy,
int offset) |
|
IntBuffer(int length,
int elementSize) |
|
IntBuffer(int length,
int elementSize,
int offset) |
|
IntBuffer(long length) |
|
IntBuffer(long length,
boolean initialize) |
| Modifier and Type | Method and Description |
|---|---|
DataBuffer |
create(io.netty.buffer.ByteBuf buf,
int length)
Create the data buffer
with respect to the given byte buffer
|
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
|
IComplexDouble |
getComplexDouble(long i)
Get the complex double at the specified index
|
IComplexFloat |
getComplexFloat(long i)
Get the complex float
|
protected void |
initTypeAndSize()
Initialize the type of this buffer
|
addReferencing, address, addressPointer, allocationMode, array, asBytes, asDouble, asFloat, asInt, asNetty, asNio, asNioDouble, asNioFloat, asNioInt, assign, assign, assign, assign, assign, assign, assign, assign, assign, assign, copyAtStride, dataType, destroy, dirty, doReadObject, dup, equals, flush, getComplex, getDouble, getDoublesAt, getDoublesAt, getElementSize, getFloat, getFloatsAt, getFloatsAt, getInt, getNumber, getTrackingPoint, hashCode, isConstant, isPersist, length, offset, originalDataBuffer, originalOffset, persist, pointer, put, put, put, put, read, read, references, removeReferencing, sameUnderlyingData, setConstant, setData, setData, setData, setNioBuffer, setTrackingPoint, toString, underlyingDataBuffer, underlyingLength, unPersist, write, writepublic IntBuffer(long length)
public IntBuffer(long length,
boolean initialize)
protected IntBuffer(io.netty.buffer.ByteBuf buf,
int length,
int offset)
public IntBuffer(ByteBuffer buffer, int length, int offset)
public IntBuffer(byte[] data,
int length)
public IntBuffer(double[] data,
boolean copy)
public IntBuffer(double[] data,
boolean copy,
int offset)
public IntBuffer(float[] data,
boolean copy)
public IntBuffer(float[] data,
boolean copy,
int offset)
public IntBuffer(int[] data,
boolean copy,
int offset)
public IntBuffer(int length,
int elementSize)
public IntBuffer(int length,
int elementSize,
int 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(io.netty.buffer.ByteBuf buf,
int length)
public IntBuffer(int[] data,
boolean copy)
protected DataBuffer create(long length)
BaseDataBuffercreate in class BaseDataBufferlength - a databuffer of the same type 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 createpublic DataBuffer create(io.netty.buffer.ByteBuf buf, int length)
BaseDataBuffercreate in class BaseDataBufferbuf - the buffer to createpublic IComplexFloat getComplexFloat(long i)
DataBuffergetComplexFloat in interface DataBuffergetComplexFloat in class BaseDataBufferi - the i togetepublic IComplexDouble getComplexDouble(long i)
DataBuffergetComplexDouble in interface DataBuffergetComplexDouble in class BaseDataBufferi - the indexprotected void initTypeAndSize()
initTypeAndSize in class BaseDataBufferCopyright © 2016. All Rights Reserved.