public interface PropertyAtomDouble
double.| Modifier and Type | Method and Description |
|---|---|
double |
getDouble()
Gets the current value of this property.
|
double |
getDouble(long time)
Gets the value that property had at the given time.
|
double |
getDoubleAtIdx(int idx)
Gets the value of this property at the given history index.
|
boolean |
setDouble(double value)
Sets the current value of this
PropertyAtom. |
boolean |
setDouble(double value,
long time)
Sets the value of this
PropertyAtom with a given time. |
double getDouble()
double getDouble(long time)
time - a time expressed in number of milliseconds since the epoch.double value.PropertyException - if the value at the given time is unknown.boolean setDouble(double value)
PropertyAtom.value - the value to setProperty#getHistoryPolicy()boolean setDouble(double value,
long time)
PropertyAtom with a given time.value - the value to set.time - the time to associate with the value.Property#getHistoryPolicy()double getDoubleAtIdx(int idx)
idx - index in the history of this property.PropertyException - if the index is invalid.Property#getHistoryPolicy(),
Property#getHistorySize()