java8 list转map
List<T>转Map<S,T><pre<codeMap<String,DemoEntity>mapstats.stream().collect(Collectors.toMap(DemoEntity::getKey,
List<T>转Map<S,T><pre<codeMap<String,DemoEntity>mapstats.stream().collect(Collectors.toMap(DemoEntity::getKey,