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