final Stats stats = (Stats)o;
final String [] names = stats.getStatisticNames();
Arrays.sort( names );
final StringBuffer buf = new StringBuffer();
buf.append( "Stats: " + ArrayStringifier.stringify( names, ", " ) + "\n" );
for( int i = 0; i < names.length; ++i )
{
final Object statistic = stats.getStatistic( names[ i ] );
buf.append( SmartStringifier.toString( statistic ) );
buf.append( "---\n" );
}
buf.append( "\n" );
return( buf.toString() );