code: public void reset(double newTolerance, Runnable newAction)
      {
          this.tolerance = newTolerance;
          this.action = newAction;
          done = false;
      }
docs: Reset
  @param newTolerance
  @param newAction