Stream流根据某一属性分组 用法 list.stream().collect(Collectors.groupingBy(entity -> entity.getParam())) eg : {type = ...