simtools.data.buffer
Class ResizeableBuffer.ResizeableObjectManipulator
java.lang.Object
simtools.data.buffer.Buffer.ObjectManipulator
simtools.data.buffer.SimpleBuffer.SimpleObjectManipulator
simtools.data.buffer.ResizeableBuffer.ResizeableObjectManipulator
- All Implemented Interfaces:
- java.lang.Cloneable, Buffer.Manipulator
- Direct Known Subclasses:
- DelayedBuffer.DelayedObjectManipulator
- Enclosing class:
- ResizeableBuffer
public class ResizeableBuffer.ResizeableObjectManipulator
- extends SimpleBuffer.SimpleObjectManipulator
This class handles optimization for Object objects.
Method Summary |
java.lang.Object |
getValue(long index)
|
void |
setSlice(long min,
long max)
Use this function to optimize the buffer on the given index range |
boolean |
setValue(long index,
java.lang.Object value)
|
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResizeableBuffer.ResizeableObjectManipulator
public ResizeableBuffer.ResizeableObjectManipulator()
getValue
public java.lang.Object getValue(long index)
throws DataException
- Overrides:
getValue
in class SimpleBuffer.SimpleObjectManipulator
- Throws:
DataException
setValue
public boolean setValue(long index,
java.lang.Object value)
throws DataException
- Overrides:
setValue
in class SimpleBuffer.SimpleObjectManipulator
- Throws:
DataException
setSlice
public void setSlice(long min,
long max)
- Use this function to optimize the buffer on the given index range
- Overrides:
setSlice
in class Buffer.ObjectManipulator