T - the timestamp typepublic static class UnivariateTimeSeries.Entry<T> extends Object implements TimeSeries.Entry<T,Double>
TimeSeries.Entry for a univariate time series.| Constructor and Description |
|---|
Entry(T time,
double value)
Construct an instance of
Entry. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
T |
getTime()
Get the timestamp.
|
Double |
getValue()
Get the entry value.
|
int |
hashCode() |
public Entry(T time, double value)
Entry.time - the timestampvalue - the entry valuepublic Double getValue()
TimeSeries.EntrygetValue in interface TimeSeries.Entry<T,Double>public T getTime()
TimeSeries.EntrygetTime in interface TimeSeries.Entry<T,Double>Copyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.