code: public static <ENTRY>  String transformCollectionToString(final Collection<ENTRY> collection, final String separator, final Filter<ENTRY> ... filters) {
          String stringRepresentation = "";
          for (ENTRY entry : collection) {
  
              if (entry == null) {
                  continue;
              }
  
              for (Filter<ENTRY> filter : filters) {
                  if(filter.match(entry)) {
                      continue;
                  }
              }
  
              final String entryString = entry.toString();
  
              if (entryString.isEmpty()) {
                  continue;
              }
  
              if (!stringRepresentation.isEmpty()) {
                  stringRepresentation += separator;
              }
  
              stringRepresentation += entryString;
          }
          return stringRepresentation;
      }
docs: Method calls toString on each entry of the given collection and builds a string where each entry is separated by the given separator.
  
  @param collection the collection to repesent as string.
  @param separator  the separator between each entry.
  @param filters a set of filters to skip specific entries.
  
  @return the string representation of the collection.