simtools.data.buffer
Class SimpleBuffer.SimpleDoubleManipulator
java.lang.Object
simtools.data.buffer.Buffer.DoubleManipulator
simtools.data.buffer.SimpleBuffer.SimpleDoubleManipulator
- All Implemented Interfaces:
- java.lang.Cloneable, Buffer.Manipulator
- Direct Known Subclasses:
- ResizeableBuffer.ResizeableDoubleManipulator
- Enclosing class:
- SimpleBuffer
public class SimpleBuffer.SimpleDoubleManipulator
- extends Buffer.DoubleManipulator
This class handles optimization for double objects.
Field Summary |
protected double[] |
buffer
|
Method Summary |
java.lang.Object |
clone()
|
double |
getValue(long index)
|
boolean |
setValue(long index,
double value)
|
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
buffer
protected transient double[] buffer
SimpleBuffer.SimpleDoubleManipulator
public SimpleBuffer.SimpleDoubleManipulator()
getValue
public double getValue(long index)
throws DataException
- Specified by:
getValue
in class Buffer.DoubleManipulator
- Throws:
DataException
setValue
public boolean setValue(long index,
double value)
throws DataException
- Overrides:
setValue
in class Buffer.DoubleManipulator
- Throws:
DataException
clone
public java.lang.Object clone()
- Overrides:
clone
in class Buffer.DoubleManipulator