常用的四大函数式接口如下:

Function: R apply(T t) ->有入参和返回
        Consumer: void accept(T t) ->有入参无返回
        Supplier: T get(); ->无入参有返回
        Predicate: boolean test(T t) ->有入参返回boolean

因为相信,所以看见.