simtools.data.buffer
Class Buffer.ObjectManipulator

java.lang.Object
  extended by simtools.data.buffer.Buffer.ObjectManipulator
All Implemented Interfaces:
java.lang.Cloneable, Buffer.Manipulator
Direct Known Subclasses:
SimpleBuffer.SimpleObjectManipulator
Enclosing class:
Buffer

public abstract class Buffer.ObjectManipulator
extends java.lang.Object
implements java.lang.Cloneable, Buffer.Manipulator

This class handles optimization for Object objects.


Constructor Summary
Buffer.ObjectManipulator()
           
 
Method Summary
 java.lang.Object clone()
           
abstract  java.lang.Object getValue(long index)
           
 void setSlice(long min, long max)
           
 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
 

Constructor Detail

Buffer.ObjectManipulator

public Buffer.ObjectManipulator()
Method Detail

getValue

public abstract java.lang.Object getValue(long index)
                                   throws DataException
Throws:
DataException

setValue

public boolean setValue(long index,
                        java.lang.Object 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)