@Override protected void addTypeSpecificStats(NamedList<Object> res){
  res.add("sum",sum);
  res.add("sumOfSquares",sumOfSquares);
  res.add("mean",sum / count);
  res.add("stddev",getStandardDeviation());
}

@ Override protected void addTypeSpecificStats ( NamedList < Object > res ) { res . add ( "sum" , sum ) ; res . add ( "sumOfSquares" , sumOfSquares ) ; res . add ( "mean" , sum / count ) ; res . add ( "stddev" , getStandardDeviation ( ) ) ; }
adds sum , sumofsquares , mean and standard deviation statistics to the given namedlist
