code: public void clear() {
        this.min = Double.POSITIVE_INFINITY;
        this.max = Double.NEGATIVE_INFINITY;
        this.sum = 0;
        this.sumOfSq = 0;
        this.count = 0;
     }
docs: Clears the accumulated values.