code: public void reset(final long timestamp, final double value) {
      this.timestamp = timestamp;
      this.is_integer = false;
      this.value = Double.doubleToRawLongBits(value);
    }
docs: Resets with a new pair of a timestamp and a double value.
  
  @param timestamp A timestamp.
  @param value A double value.