摘要: 1.常用函数是接口: (1)Function<T, R> => R apply(T t) ———— 接受一个T类型的参数,返回R类型结果。 Function<Integer, String> function1 = (x) -> "result: " + x; function1.apply(6); 阅读全文
posted @ 2019-06-04 11:40 派大小兴 阅读(1581) 评论(0) 推荐(0) 编辑