question: public static String enumerateCollectionWithHash ( final Collection < String > collection ) { if ( collection == null ) { return "" ; } final List < String > result = new ArrayList < String > ( collection . size ( ) ) ; for ( String entry : collection ) { result . add ( "#" + entry ) ; } return enumerateCollection ( result ) ; }
target:  Helper function to nicely formulate an enumeration of a collection,  with hashes to colour the words. <p>  For example, for a collection containing the 3 elements x, y, z, returns the string "#x, #y, and #z".