simtools.data.buffer
Class SimpleBuffer.SimpleObjectManipulator
java.lang.Object
simtools.data.buffer.Buffer.ObjectManipulator
simtools.data.buffer.SimpleBuffer.SimpleObjectManipulator
- All Implemented Interfaces:
- java.lang.Cloneable, Buffer.Manipulator
- Direct Known Subclasses:
- ResizeableBuffer.ResizeableObjectManipulator
- Enclosing class:
- SimpleBuffer
public class SimpleBuffer.SimpleObjectManipulator
- extends Buffer.ObjectManipulator
This class handles optimization for Object objects.
Field Summary |
protected java.lang.Object[] |
buffer
|
Method Summary |
java.lang.Object |
clone()
|
java.lang.Object |
getValue(long index)
|
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 |
buffer
protected transient java.lang.Object[] buffer
SimpleBuffer.SimpleObjectManipulator
public SimpleBuffer.SimpleObjectManipulator()
getValue
public java.lang.Object getValue(long index)
throws DataException
- Specified by:
getValue
in class Buffer.ObjectManipulator
- Throws:
DataException
setValue
public boolean setValue(long index,
java.lang.Object value)
throws DataException
- Overrides:
setValue
in class Buffer.ObjectManipulator
- Throws:
DataException
clone
public java.lang.Object clone()
- Overrides:
clone
in class Buffer.ObjectManipulator