public class DataSample
extends java.lang.Object
| Constructor and Description |
|---|
DataSample() |
DataSample(long t,
double min,
double max,
double avg) |
| Modifier and Type | Method and Description |
|---|---|
double |
getAvg() |
double |
getMax() |
double |
getMin() |
long |
getTimestamp() |
void |
setAvg(double avg) |
void |
setMax(double max) |
void |
setMin(double min) |
void |
setTimestamp(long timestamp) |
public DataSample()
public DataSample(long t,
double min,
double max,
double avg)
public long getTimestamp()
public void setTimestamp(long timestamp)
timestamp - the timestamp to setpublic double getMin()
public void setMin(double min)
min - the min to setpublic double getMax()
public void setMax(double max)
max - the max to setpublic double getAvg()
public void setAvg(double avg)
avg - the avg to set