T
- The type of data being trackedpublic interface Track<T> extends Temporal
Modifier and Type | Method and Description |
---|---|
T |
getCurrentValue()
Returns the current value based upon the current time setting for this
track.
|
DataRecord |
getData()
Get the data record associated with this track.
|
T |
getValue(java.util.Date time)
Get the value in the track at the specified time.
|
T |
getValue(int index)
Return the value for the given index.
|
boolean |
isTimed()
return whether the track is indexed by time
|
void |
setData(DataRecord data)
Set the data record associated with this track.
|
getCurTime, setCurTime
T getCurrentValue()
DataRecord getData()
T getValue(java.util.Date time)
time
- the time to checkT getValue(int index)
index
- the index of the positionboolean isTimed()
void setData(DataRecord data)
data
- the data record associated with this track.