Collection<String> (final Collection<? extends GenericValue> collection, Collection<String> result) { for (GenericValue o : collection) { final String value = o.getStringValue(); if (value != null) { result.add(value.replace('$', '.')); } } return result; }