simtools.data.buffer
Class SimpleBuffer.SimpleFloatManipulator

java.lang.Object
  extended by simtools.data.buffer.Buffer.FloatManipulator
      extended by simtools.data.buffer.SimpleBuffer.SimpleFloatManipulator
All Implemented Interfaces:
java.lang.Cloneable, Buffer.Manipulator
Direct Known Subclasses:
ResizeableBuffer.ResizeableFloatManipulator
Enclosing class:
SimpleBuffer

public class SimpleBuffer.SimpleFloatManipulator
extends Buffer.FloatManipulator

This class handles optimization for float objects.


Field Summary
protected  float[] buffer
           
 
Constructor Summary
SimpleBuffer.SimpleFloatManipulator()
           
 
Method Summary
 java.lang.Object clone()
           
 float getValue(long index)
           
 boolean setValue(long index, float value)
           
 
Methods inherited from class simtools.data.buffer.Buffer.FloatManipulator
setSlice
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

buffer

protected transient float[] buffer
Constructor Detail

SimpleBuffer.SimpleFloatManipulator

public SimpleBuffer.SimpleFloatManipulator()
Method Detail

getValue

public float getValue(long index)
               throws DataException
Specified by:
getValue in class Buffer.FloatManipulator
Throws:
DataException

setValue

public boolean setValue(long index,
                        float value)
                 throws DataException
Overrides:
setValue in class Buffer.FloatManipulator
Throws:
DataException

clone

public java.lang.Object clone()
Overrides:
clone in class Buffer.FloatManipulator