public class DataPoint extends Object
| Constructor and Description |
|---|
DataPoint(long timestamp,
Object value) |
| Modifier and Type | Method and Description |
|---|---|
double |
doubleValue() |
boolean |
equals(Object o) |
long |
getTimestamp()
Time when the data point was measured.
|
Object |
getValue() |
int |
hashCode() |
boolean |
isDoubleValue() |
boolean |
isIntegerValue() |
long |
longValue() |
String |
stringValue() |
String |
toString() |
public DataPoint(long timestamp,
Object value)
public long getTimestamp()
public Object getValue()
public String stringValue() throws DataFormatException
DataFormatExceptionpublic long longValue()
throws DataFormatException
DataFormatExceptionpublic double doubleValue()
throws DataFormatException
DataFormatExceptionpublic boolean isDoubleValue()
public boolean isIntegerValue()
Copyright © 2014. All rights reserved.