Map<String,SaaSchedulingMain> map = list.stream().collect(Collectors.toMap(SaaSchedulingMain::getDay, main -> main));
list 转 map
最新推荐文章于 2024-06-25 19:41:45 发布
Map<String,SaaSchedulingMain> map = list.stream().collect(Collectors.toMap(SaaSchedulingMain::getDay, main -> main));