Open DrMaemi opened 1 year ago
computeIfAbsent(key, function)
for (Map.Entry<String, String> entry : map.entrySet()) { System.out.println("[key]:" + entry.getKey() + ", [value]:" + entry.getValue()); }
entrySet().stream().map()
for (String key : map.keySet()) { String value = map.get(key); System.out.println("[key]:" + key + ", [value]:" + value); }
computeIfAbsent(key, function)
entrySet().stream().map()
과 같이 사용할 수 있음A. 참조