public class Data extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
date |
protected double |
latitude |
protected double |
longitude |
protected Float |
value |
| Modifier and Type | Method and Description |
|---|---|
String |
getDate() |
double |
getLatitude() |
double |
getLongitude() |
Float |
getValue() |
Float |
getValue(Unit unit) |
Integer |
getValueAsInt() |
Integer |
getValueAsInt(Unit unit) |
void |
setDate(String date) |
void |
setLatitude(double latitude) |
void |
setLongitude(double longitude) |
void |
setValue(Float value) |
String |
toString() |
protected String date
protected double latitude
protected double longitude
protected Float value
public Data()
public Data(Data other)
public Integer getValueAsInt()
public Float getValue()
public void setValue(Float value)
public String getDate()
public void setDate(String date)
public double getLatitude()
public void setLatitude(double latitude)
public double getLongitude()
public void setLongitude(double longitude)
Copyright © 2017. All Rights Reserved.