- All Implemented Interfaces:
Result
public class ElementsResult
extends Object
implements Result
Represents the result JSON object for most of the /elements resources containing the timestamp
together with the corresponding value.
-
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
-
ElementsResult
public ElementsResult(String timestamp,
double value)
-
Method Details
-
-
getValue
public double getValue()
- Specified by:
getValue
in interface Result