Collection<String> (final Collection<? extends GenericValue> collection, Collection<String> result) { for (GenericValue o : collection) { ContainerUtil.addIfNotNull(result, o.getStringValue()); } return result; }