question: public static String CITInfo ( EnumMap < CIT , Boolean > hp ) { StringBuilder result = new StringBuilder ( ) ; result . append ( "[" ) ; if ( hp != null ) { for ( CIT key : hp . keySet ( ) ) result . append ( key . toString ( ) + ":" + hp . get ( key ) + ", " ) ; result . delete ( result . length ( ) - 2 , result . length ( ) ) ; } result . append ( "]" ) ; return result . toString ( ) ; }
target:  Converts a CITMap into a human readable String