code: protected void doReset() {
          this.total = this.math.createZeroValue();
          this.maximum = this.math.createZeroValue();
          this.minimum = null;
          this.mean = this.math.createZeroValue();
          this.meanValue = 0.0d;
          this.count = 0;
      }
docs: Method that can be overridden by subclasses when {@link #reset()} is called. This method is called while the object is
  locked for write and does work; therefore, the subclass should call this method.