code: public void recordValue(int value) {
  		lastValueInteger = value;
  
  		if (value < lastMinInteger) {
  			lastMinInteger = value;
  		}
  
  		if (value > lastMaxInteger) {
  			lastMaxInteger = value;
  		}
  
  		lastSumInteger += value;
  		lastSqrInteger += value * value;
  		lastCountInteger++;
  
  		if (histogramLevels != null) {
  			addToHistogram(value);
  		}
  	}
docs: Adds value