|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsimtools.data.ValueProvider
simtools.data.buffer.Buffer
simtools.data.buffer.SimpleBuffer
public class SimpleBuffer
The SimpleBuffer policy is to store up to bufferSize values of contiguous index.
Nested Class Summary | |
---|---|
class |
SimpleBuffer.SimpleByteManipulator
This class handles optimization for byte objects. |
class |
SimpleBuffer.SimpleDoubleManipulator
This class handles optimization for double objects. |
class |
SimpleBuffer.SimpleFloatManipulator
This class handles optimization for float objects. |
class |
SimpleBuffer.SimpleIntegerManipulator
This class handles optimization for int objects. |
class |
SimpleBuffer.SimpleLongManipulator
This class handles optimization for long objects. |
class |
SimpleBuffer.SimpleObjectManipulator
This class handles optimization for Object objects. |
class |
SimpleBuffer.SimpleShortManipulator
This class handles optimization for short objects. |
Nested classes/interfaces inherited from class simtools.data.buffer.Buffer |
---|
Buffer.ByteManipulator, Buffer.DoubleManipulator, Buffer.FloatManipulator, Buffer.IntegerManipulator, Buffer.LongManipulator, Buffer.Manipulator, Buffer.ObjectManipulator, Buffer.ShortManipulator |
Field Summary | |
---|---|
protected boolean[] |
valid
|
Fields inherited from class simtools.data.buffer.Buffer |
---|
byteManipulator, doubleManipulator, endIndex, floatManipulator, intManipulator, longManipulator, objectManipulator, provider, shortManipulator, startIndex |
Fields inherited from class simtools.data.ValueProvider |
---|
ByteProvider, DoubleProvider, FloatProvider, IntegerProvider, kind, LongProvider, ObjectProvider, ShortProvider |
Constructor Summary | |
---|---|
SimpleBuffer()
|
|
SimpleBuffer(int type)
|
|
SimpleBuffer(int type,
ValueProvider vp)
|
|
SimpleBuffer(int type,
ValueProvider prov,
int size)
|
|
SimpleBuffer(ValueProvider prov)
|
|
SimpleBuffer(ValueProvider prov,
int size)
|
Method Summary | |
---|---|
java.lang.Object |
clone()
|
protected Buffer.Manipulator |
createManipulator(int kind)
Manipulator factory Subclasses shall implement it to return their specialized versions of Manipulators. |
protected void |
initialize(int size)
|
Methods inherited from class simtools.data.buffer.Buffer |
---|
clear, getByteValue, getDoubleValue, getEndIndex, getFloatValue, getIntegerValue, getKind, getLongValue, getProvider, getShortValue, getStartIndex, getValue, setByteValue, setDoubleValue, setFloatValue, setIntegerValue, setLongValue, setProvider, setShortValue, setSlice, setValue |
Methods inherited from class simtools.data.ValueProvider |
---|
getObjectValue, valueClass |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected transient boolean[] valid
Constructor Detail |
---|
public SimpleBuffer()
public SimpleBuffer(ValueProvider prov)
public SimpleBuffer(int type)
public SimpleBuffer(int type, ValueProvider vp)
public SimpleBuffer(ValueProvider prov, int size)
public SimpleBuffer(int type, ValueProvider prov, int size)
Method Detail |
---|
protected void initialize(int size)
public java.lang.Object clone()
clone
in class Buffer
protected Buffer.Manipulator createManipulator(int kind)
Buffer
createManipulator
in class Buffer
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |