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