|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsimtools.data.buffer.Buffer.IntegerManipulator
simtools.data.buffer.SimpleBuffer.SimpleIntegerManipulator
simtools.data.buffer.ResizeableBuffer.ResizeableIntegerManipulator
simtools.data.buffer.DelayedBuffer.DelayedIntegerManipulator
public class DelayedBuffer.DelayedIntegerManipulator
This class handles optimization for int objects.
Field Summary |
---|
Fields inherited from class simtools.data.buffer.SimpleBuffer.SimpleIntegerManipulator |
---|
buffer |
Constructor Summary | |
---|---|
DelayedBuffer.DelayedIntegerManipulator()
|
Method Summary | |
---|---|
void |
setSlice(long min,
long max)
Use this function to optimize the buffer on the given index range |
boolean |
setValue(long index,
int value)
Unlike parent's, this buffer deletes old elements and give priority to the newly set elements. |
Methods inherited from class simtools.data.buffer.ResizeableBuffer.ResizeableIntegerManipulator |
---|
getValue |
Methods inherited from class simtools.data.buffer.SimpleBuffer.SimpleIntegerManipulator |
---|
clone |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DelayedBuffer.DelayedIntegerManipulator()
Method Detail |
---|
public boolean setValue(long index, int value) throws DataException
setValue
in class ResizeableBuffer.ResizeableIntegerManipulator
DataException
public void setSlice(long min, long max)
setSlice
in class ResizeableBuffer.ResizeableIntegerManipulator
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |