摘要: List integerList = Arrays.asList(4, 5, 2, 3, 7, 9); List collect = integerList.stream() .map(i -> i * i).distinct() .collect(Collectors.toList()); // ... 阅读全文
posted @ 2018-03-23 17:24 咸鱼也疯狂 阅读(39122) 评论(0) 推荐(0) 编辑
摘要: Map 阅读全文
posted @ 2018-03-23 14:32 咸鱼也疯狂 阅读(3456) 评论(0) 推荐(0) 编辑
Fork me on GitHub