public class InterpolationContainer<E extends IInterpolated<E>>
extends java.lang.Object
Constructor and Description |
---|
InterpolationContainer()
Creates an empty
InterpolationContainer object. |
Modifier and Type | Method and Description |
---|---|
java.util.Vector<java.lang.Double> |
getTimestamps()
Returns the list of points in time where value objects reside.
|
E |
getValue(double dTime)
Returns the value object that is at the specified point in time.
|
void |
removeAllValues()
Removes all value objects from this container.
|
E |
removeValue(double dTime)
Removes the value object that resides at the specified time.
|
void |
setValue(E pValue,
double dTime)
Sets a value at the specified point in time.
|
public InterpolationContainer()
InterpolationContainer
object.public void setValue(E pValue, double dTime)
pValue
- The value object that resides at the specified time.dTime
- The time a double value between 0 and 1.public E removeValue(double dTime)
dTime
- The point in time as double where the object can be found that should be removed.public void removeAllValues()
public E getValue(double dTime)
dTime
- The point in time as double for which the value object should be retrieved.public java.util.Vector<java.lang.Double> getTimestamps()