code: public void add(double value) {
      count++;
      min = Math.min(min, value);
      max = Math.max(max, value);
      sum += value;
      sumOfSquares += value * value;
      addQuantileValue(value);
    }
docs: Adds the given data value to the data set