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