|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.numericalmethod.suanshu.stats.timeseries.TimeSeries.Entry<T,V>
T - the time typeV - the value typepublic static class TimeSeries.Entry<T,V>
A time series is composed of a sequence of Entrys.
An Entry is immutable.
| Field Summary | |
|---|---|
T |
time
the time index, timestamp |
V |
value
the value |
| Constructor Summary | |
|---|---|
TimeSeries.Entry(T time,
V value)
Construct an entry from a time-value pair. |
|
| Method Summary | |
|---|---|
T |
getKey()
|
V |
getValue()
|
V |
setValue(V value)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Map.Entry |
|---|
equals, hashCode |
| Field Detail |
|---|
public final T time
public final V value
| Constructor Detail |
|---|
public TimeSeries.Entry(T time,
V value)
time - the timevalue - the value| Method Detail |
|---|
public T getKey()
getKey in interface java.util.Map.Entry<T,V>public V getValue()
getValue in interface java.util.Map.Entry<T,V>public V setValue(V value)
setValue in interface java.util.Map.Entry<T,V>
|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||