private static String mapToText(){
  final StringBuffer buffer=new StringBuffer();
  for (  final Map.Entry<Long,Integer> entry : m_countMap.entrySet()) {
    buffer.append(String.format("%d:%d%n",entry.getKey(),entry.getValue()));
  }
  return buffer.toString();
}

private static String mapToText ( ) { final StringBuffer buffer = new StringBuffer ( ) ; for ( final Map . Entry < Long , Integer > entry : m_countMap . entrySet ( ) ) { buffer . append ( String . format ( "%d:%d%n" , entry . getKey ( ) , entry . getValue ( ) ) ) ; } return buffer . toString ( ) ; }
converts the action statistics map to a printable string .
