class CollectionFunctions {

    public static <T, R> LinkedHashSet<R> simpleToLinkedHashSet(T[] array,
                                                                Function<T, R> mappingFn) {
        if (array == null) {
            return new LinkedHashSet<>();
        }
        return simpleToLinkedHashSet(asList(array), mappingFn);
    }

    private  CollectionFunctions();

}