摘要: public class LambdaTest { public static void main(String[] args) { // 相当于foreach遍历操作结果值 Integer out = Stream.of(10, 5, 3, 2, 1, 0).reduce((result, item) -> { if (item... 阅读全文
posted @ 2016-05-10 17:17 べ袽猓柯苡づ 阅读(4684) 评论(0) 推荐(0) 编辑