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