Package net.royalur.lut.buffer
Class Percent16ValueBuffer
java.lang.Object
net.royalur.lut.buffer.ValueBuffer
net.royalur.lut.buffer.FloatValueBuffer
net.royalur.lut.buffer.Percent16ValueBuffer
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiondoublegetDouble(int index) floatgetFloat(int index) voidmoveIntoPlace(int index, int targetIndex) Moves the value to targetIndex, and shifts all values in between.voidreadContents(DataSource input, int startIndex, int endIndex) doubleset(int index, double value) floatset(int index, float value) voidwriteContents(DataSink output, int startIndex, int endIndex) Methods inherited from class net.royalur.lut.buffer.FloatValueBuffergetByte, getInt, getLong, getShort, set, set, set, setMethods inherited from class net.royalur.lut.buffer.ValueBufferconvertTo, getCapacity, getType, readContents, writeContents
- 
Constructor Details- 
Percent16ValueBufferpublic Percent16ValueBuffer(int capacity) 
 
- 
- 
Method Details- 
setpublic double set(int index, double value) - Specified by:
- setin class- ValueBuffer
 
- 
setpublic float set(int index, float value) - Specified by:
- setin class- ValueBuffer
 
- 
getDoublepublic double getDouble(int index) - Specified by:
- getDoublein class- ValueBuffer
 
- 
getFloatpublic float getFloat(int index) - Specified by:
- getFloatin class- ValueBuffer
 
- 
moveIntoPlacepublic void moveIntoPlace(int index, int targetIndex) Description copied from class:ValueBufferMoves the value to targetIndex, and shifts all values in between.- Specified by:
- moveIntoPlacein class- ValueBuffer
 
- 
writeContents- Specified by:
- writeContentsin class- ValueBuffer
- Throws:
- IOException
 
- 
readContents- Specified by:
- readContentsin class- ValueBuffer
- Throws:
- IOException
 
 
-