- All Implemented Interfaces:
Result
Represents the result JSON object for the /ratio resource containing the timestamp together with
two values and their resulting ratio.
-
Constructor Summary
Constructors
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
RatioResult
public RatioResult(String timestamp,
double value,
double value2,
double ratio)
-
Method Details
-
-
getValue
public double getValue()
- Specified by:
getValue
in interface Result
-
getValue2
public double getValue2()
-
getRatio
public double getRatio()