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);
}

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 ) ; }
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 " .
