Package net.royalur.lut.buffer
Class FloatValueBuffer
java.lang.Object
net.royalur.lut.buffer.ValueBuffer
net.royalur.lut.buffer.FloatValueBuffer
- Direct Known Subclasses:
Float32ValueBuffer
,Float64ValueBuffer
,Percent16ValueBuffer
Stores binary values and provides efficient methods to manipulate it.
-
Constructor Summary
-
Method Summary
Methods inherited from class net.royalur.lut.buffer.ValueBuffer
getCapacity, getDouble, getFloat, getType, moveIntoPlace, readContents, readContents, set, set, writeContents, writeContents
-
Constructor Details
-
FloatValueBuffer
-
-
Method Details
-
set
public long set(int index, long value) - Specified by:
set
in classValueBuffer
-
set
public int set(int index, int value) - Specified by:
set
in classValueBuffer
-
set
public short set(int index, short value) - Specified by:
set
in classValueBuffer
-
set
public byte set(int index, byte value) - Specified by:
set
in classValueBuffer
-
getLong
public long getLong(int index) - Specified by:
getLong
in classValueBuffer
-
getInt
public int getInt(int index) - Specified by:
getInt
in classValueBuffer
-
getShort
public short getShort(int index) - Specified by:
getShort
in classValueBuffer
-
getByte
public byte getByte(int index) - Specified by:
getByte
in classValueBuffer
-