code: public void addNextValue(Object val) {
      long newVal = Long.parseLong(val.toString());
      if (this.maxVal < newVal) {
        this.maxVal = newVal;
      }
    }
docs: add a value to the aggregator
  
  @param val
  an object whose string representation represents a long value.