Buy me a coffee
Java
›
Map
›
putIfAbsent
←
entrySet
putIfAbsent
Map
merge
→
キーがまだ存在しない場合のみ値を挿入します。
構文
map.putIfAbsent(key, value)