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