code: public void addNextValue(Object val) {
      String newVal = val.toString();
      if (this.minVal == null || this.minVal.compareTo(newVal) > 0) {
        this.minVal = newVal;
      }
    }
docs: add a value to the aggregator
  
  @param val
  a string.