public class TimeSeriesLong extends TimeSeriesValue implements java.lang.Comparable
| Modifier and Type | Field and Description |
|---|---|
long |
value
the value
|
| Constructor and Description |
|---|
TimeSeriesLong(java.util.Date when,
long value)
Create a new timestamp long
|
TimeSeriesLong(long when,
long value)
Create a new timestamp long
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(java.lang.Object o)
Compare dates
|
boolean |
equals(java.lang.Object obj) |
java.lang.Object |
getValue()
get the current value
|
int |
hashCode() |
getTime, getTimeInMillisecondspublic TimeSeriesLong(java.util.Date when,
long value)
when - The date of this timestampvalue - the long valuepublic TimeSeriesLong(long when,
long value)
when - The date of this timestampvalue - the long valuepublic java.lang.Object getValue()
getValue in class TimeSeriesValue@CheckReturnValue public boolean equals(java.lang.Object obj)
equals in class java.lang.Object@CheckReturnValue public int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(java.lang.Object o)
compareTo in interface java.lang.Comparableo - the object to comparestSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.