Map<Object, List<Map<String, Object>>> name = list.stream().collect(Collectors.groupingBy(x -> x.get("name"),LinkedHashMap::new,Collectors.toList()));
加上这段话 转换成linkedhashmap 即可
标签:解决办法,name,Collectors,List,stream,变乱 From: https://www.cnblogs.com/fujingtao/p/16853813.html