Set<String> set = map.keySet(); if(set != null && !set.isEmpty()) { for(String key : set) { if(map.get(key) == null) { map.put(key, ""); } } }
原文地址:https://www.cnblogs.com/smileblogs/p/10332279.html
时间: 2024-11-01 07:42:23
Set<String> set = map.keySet(); if(set != null && !set.isEmpty()) { for(String key : set) { if(map.get(key) == null) { map.put(key, ""); } } }
原文地址:https://www.cnblogs.com/smileblogs/p/10332279.html