List<String> strings = map.computeIfAbsent(s[0], k -> new ArrayList<>());
Map 获取值,若存在,返回该value,不存在创建返回
最新推荐文章于 2024-05-17 21:45:00 发布
List<String> strings = map.computeIfAbsent(s[0], k -> new ArrayList<>());