class CollectionHelper {

    public static <T> HashSet<T> getHashSetOf(
            final Class<T> clazz,
            final Collection<?> collection
    ) {
        return getCollectionOf(clazz, collection, new HashSet<>());
    }

    private  CollectionHelper();

}