public static <P, R> Set<R> transform(Set<P> elements, Function<P, R> transformer) {
        return Sets.newHashSet(transform(newArrayList(elements), transformer));
    }
public static < P , R > Set < R > transform ( Set < P > elements , Function < P , R > transformer ) { return Sets . newHashSet ( transform ( newArrayList ( elements ) , transformer ) ) ; }
Returns a list that applies {@code transformer} to each element of {@code
elements}