Resets with a new pair of a timestamp and a double value. @param timestamp A timestamp. @param value A double value.
(final long timestamp,
final double value)
| 73 | * @param value A double value. |
| 74 | */ |
| 75 | public static MutableDataPoint ofDoubleValue(final long timestamp, |
| 76 | final double value) { |
| 77 | final MutableDataPoint dp = new MutableDataPoint(); |
| 78 | dp.reset(timestamp, value); |
| 79 | return dp; |
| 80 | } |
| 81 | |
| 82 | /** |
| 83 | * Resets with a new pair of a timestamp and a long value. |