Map 遍历 map map.forEach((key, value) -> { System.out.println(key); System.out.println(value); }); 删除不满足条件的值 map.entrySet().removeIf(entry -> StringUtils.isBlank(entry.getValue()));