摘要: 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 咸鱼也疯狂 阅读(39263) 评论(0) 推荐(0)
摘要: Map 阅读全文
posted @ 2018-03-23 14:32 咸鱼也疯狂 阅读(3476) 评论(0) 推荐(0)
Fork me on GitHub