class CollectionFunctions {

    public static <T> List<T> flattenLists(Collection<? extends Collection<T>> toFlatten){
        return flattenLists(toFlatten, Function.identity());
    }

    private  CollectionFunctions();

}