Creates a new instance of StatsToString this.stats = stats;
this.stats = stats;
final StringBuffer s = new StringBuffer(stats.getClass().getName()).append(NL); final Statistic[] ss = stats.getStatistics(); for(int i = 0 ; i < ss.length ; i++) { s.append(ss[i].toString()).append(NL); } return s.toString();