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