T - the timestamp typepublic static class TimeSeries.Entry<T> extends java.lang.Object implements TimeSeries.Entry<T,java.lang.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(java.lang.Object obj) |
T |
getTime()
Get the timestamp.
|
java.lang.Double |
getValue()
Get the entry value.
|
int |
hashCode() |
public Entry(T time, double value)
Entry.time - the timestampvalue - the entry valuepublic java.lang.Double getValue()
TimeSeries.EntrygetValue in interface TimeSeries.Entry<T,java.lang.Double>public T getTime()
TimeSeries.EntrygetTime in interface TimeSeries.Entry<T,java.lang.Double>public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object