java8函数式编程-Function

2018-09-07  本文已影响0人  lh92

闲话少说 上来就是干啊
下图是 Function 的 说明


image.png

接收一个参数 返回一个值

     * Applies this function to the given argument.
     *
     * @param t the function argument
     * @return the function result
     */
    R apply(T t);
image.png
上一篇下一篇

猜你喜欢

热点阅读