public String getStatistics ( ) { StringBuilder sb = new StringBuilder ( ) ; for ( String key : stats . keySet ( ) ) { sb . append ( key ) ; sb . append ( ": " ) ; sb . append ( stats . get ( key ) ) ; sb . append ( "\n" ) ; } return sb . toString ( ) ; }
Returns a string with all the current statistics .