public void combine(Stats o){
  max=Math.max(max,o.max);
  min=Math.min(min,o.min);
  m=m * (n / (double)(n + o.n)) + o.m * (o.n / (double)(n + o.n));
  s=Double.NaN;
  n+=o.n;
}

public void combine ( Stats o ) { max = Math . max ( max , o . max ) ; min = Math . min ( min , o . min ) ; m = m * ( n / ( double ) ( n + o . n ) ) + o . m * ( o . n / ( double ) ( n + o . n ) ) ; s = Double . NaN ; n += o . n ; }
combines the statistics for another sample into this . this is useful for performing mutable reductions ( stream . collect ) . unfortunately , the current implementation cannot combine the variances of the samples .
