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