2019年4月2日
摘要: List<Integer> intList = Lists.newArrayList(1, 2, 3, 4, 5, 6, 7, 8); List<List<Integer>> subSets = Lists.partition(intList, 3); https://blog.csdn.net/P 阅读全文
posted @ 2019-04-02 14:46 情月 阅读(141) 评论(0) 推荐(0)
摘要: Map<String, Object> merged = lists.stream() .map(Map::entrySet) .flatMap(Set::stream) .collect(Collectors.toMap(Map.Entry::getKey, Map.Entry::getValue 阅读全文
posted @ 2019-04-02 14:45 情月 阅读(235) 评论(0) 推荐(0)