摘要: public Map<String, List<Article>> groupByAuthor() { return articles.stream() .collect(Collectors.groupingBy(Article::getAuthor)); } 阅读全文
posted @ 2017-08-04 10:49 xuxu_dragon 阅读(191) 评论(0) 推荐(0) 编辑