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