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