class CollectionFunctions {

    public static <T, R> Set<R> simpleMapSet(Set<T> list, Function<T, R> mappingFn) {
        if (null == list || list.isEmpty()) {
            return emptySet();
        }
        return list.stream().map(mappingFn).collect(toSet());
    }

    private  CollectionFunctions();

}