| 다음 판 | 이전 판 |
| java:util:map [2024/02/05 13:57] – 만듦 writer | java:util:map [2024/02/06 03:42] (현재) – writer |
|---|
| * ''static'' ''<color green>**Map**</color>.<color green>**Entry**</color><K,V>.<color steelblue>**comparingByValue**</color>()'' → ''<color green>Comparator</color><Map.Entry<K,V>>'' \\ ''static'' ''<color green>**Map**</color>.<color green>**Entry**</color><K,V>.<color steelblue>**comparingByValue**</color>(<color gray>cmp</color>)'' → ''<color green>Comparator</color><Map.Entry<K,V>>'' | * ''static'' ''<color green>**Map**</color>.<color green>**Entry**</color><K,V>.<color steelblue>**comparingByValue**</color>()'' → ''<color green>Comparator</color><Map.Entry<K,V>>'' \\ ''static'' ''<color green>**Map**</color>.<color green>**Entry**</color><K,V>.<color steelblue>**comparingByValue**</color>(<color gray>cmp</color>)'' → ''<color green>Comparator</color><Map.Entry<K,V>>'' |
| * ''<color green>Comparator</color><? super K>'' ''<color gray>cmp</color>'' | * ''<color green>Comparator</color><? super K>'' ''<color gray>cmp</color>'' |
| | * ''<color green>**Map**</color>.<color green>**Entry**</color><K,V>.<color steelblue>**equals**</color>(<color gray>o</color>)'' → ''boolean'' |
| | * ''<color green>Object</color>'' ''<color gray>o</color>'' |
| | * ''<color green>**Map**</color>.<color green>**Entry**</color><K,V>.<color steelblue>**getKey**</color>()'' → ''K'' |
| | * ''<color green>**Map**</color>.<color green>**Entry**</color><K,V>.<color steelblue>**getValue**</color>()'' → ''V'' |
| | * ''<color green>**Map**</color>.<color green>**Entry**</color><K,V>.<color steelblue>**hashCode**</color>()'' → ''int'' |
| | * ''<color green>**Map**</color>.<color green>**Entry**</color><K,V>.<color steelblue>**setValue**</color>(<color gray>value</color>)'' → ''V'' |
| | * ''V'' ''<color gray>value</color>'' |
| |
| ===== Methods ===== | ===== Methods ===== |
| | * ''default'' ''<color green>**Map**</color><K,V>.<color steelblue>**replace**</color>(<color gray>key, oldValue, newValue</color>)'' → ''boolean'' |
| | * ''K'' ''<color gray>key</color>'' |
| | * ''V'' ''<color gray>oldValue</color>'' |
| | * ''V'' ''<color gray>newValue</color>'' |
| | * ''default'' ''<color green>**Map**</color><K,V>.<color steelblue>**replace**</color>(<color gray>key, value</color>)'' → ''V'' |
| | * ''K'' ''<color gray>key</color>'' |
| | * ''V'' ''<color gray>value</color>'' |
| | * ''default'' ''<color green>**Map**</color><K,V>.<color steelblue>**remove**</color>(<color gray>key, value</color>)'' → ''V'' |
| | * ''<color green>Object</color>'' ''<color gray>key</color>'' |
| | * ''<color green>Object</color>'' ''<color gray>value</color>'' |
| |
| | * ''default'' ''<color green>**Map**</color><K,V>.<color steelblue>**getOrDefault**</color>(<color gray>key, defaultValue</color>)'' → ''V'' |
| | * ''<color green>Object</color>'' ''<color gray>key</color>'' |
| | * ''V'' ''<color gray>defaultValue</color>'' |
| | * ''default'' ''<color green>**Map**</color><K,V>.<color steelblue>**putIfAbsent**</color>(<color gray>key, value</color>)'' → ''V'' |
| | * ''K'' ''<color gray>key</color>'' |
| | * ''V'' ''<color gray>value</color>'' |
| | * ''default'' ''<color green>**Map**</color><K,V>.<color steelblue>**computeIfAbsent**</color>(<color gray>key, mappingFunction</color>)'' → ''V'' |
| | * ''K'' ''<color gray>key</color>'' |
| | * ''<color green>Function</color><? super K,? super V,? extends V>'' ''<color gray>mappingFunction</color>'' |
| | * ''default'' ''<color green>**Map**</color><K,V>.<color steelblue>**computeIfPresent**</color>(<color gray>key, remappingFunction</color>)'' → ''V'' |
| | * ''K'' ''<color gray>key</color>'' |
| | * ''<color green>BiFunction</color><? super K,? super V,? extends V>'' ''<color gray>remappingFunction</color>'' |
| | * ''default'' ''<color green>**Map**</color><K,V>.<color steelblue>**compute**</color>(<color gray>key, remappingFunction</color>)'' → ''V'' |
| | * ''K'' ''<color gray>key</color>'' |
| | * ''<color green>BiFunction</color><? super K,? super V,? extends V>'' ''<color gray>remappingFunction</color>'' |
| | |
| | * ''default'' ''<color green>**Map**</color><K,V>.<color steelblue>**forEach**</color>(<color gray>action</color>)'' → ''void'' |
| | * ''<color green>BiConsumer</color><? super K,? super V>'' ''<color gray>action</color>'' |
| | * ''default'' ''<color green>**Map**</color><K,V>.<color steelblue>**replaceAll**</color>(<color gray>function</color>)'' → ''void'' |
| | * ''<color green>BiFunction</color><? super K,? super V,? extends V>'' ''<color gray>function</color>'' |
| | * ''default'' ''<color green>**Map**</color><K,V>.<color steelblue>**merge**</color>(<color gray>key, value, remappingFunction</color>)'' → ''V'' |
| | * ''K'' ''<color gray>key</color>'' |
| | * ''V'' ''<color gray>value</color>'' |
| | * ''<color green>BiFunction</color><? super K,? super V,? extends V>'' ''<color gray>remappingFunction</color>'' |
| | |
| | * ''<color green>**Map**</color><K,V>.<color steelblue>**clear**</color>()'' → ''void'' |
| | * ''<color green>**Map**</color><K,V>.<color steelblue>**putAll**</color>(<color gray>m</color>)'' → ''void'' |
| | * ''<color green>Map</color><? extends K,? extends V>'' ''<color gray>m</color>'' |
| | |
| | * ''<color green>**Map**</color><K,V>.<color steelblue>**isEmpty**</color>()'' → ''boolean'' |
| | * ''<color green>**Map**</color><K,V>.<color steelblue>**equals**</color>(<color gray>o</color>)'' → ''boolean'' |
| | * ''<color green>Object</color>'' ''<color gray>o</color>'' |
| | * ''<color green>**Map**</color><K,V>.<color steelblue>**containsKey**</color>(<color gray>key</color>)'' → ''boolean'' |
| | * ''<color green>Object</color>'' ''<color gray>key</color>'' |
| | * ''<color green>**Map**</color><K,V>.<color steelblue>**containsValue**</color>(<color gray>value</color>)'' → ''boolean'' |
| | * ''<color green>Object</color>'' ''<color gray>value</color>'' |
| | |
| | * ''<color green>**Map**</color><K,V>.<color steelblue>**hashCode**</color>()'' → ''int'' |
| | * ''<color green>**Map**</color><K,V>.<color steelblue>**size**</color>()'' → ''int'' |
| | |
| | * ''<color green>**Map**</color><K,V>.<color steelblue>**get**</color>(<color gray>key</color>)'' → ''V'' |
| | * ''<color green>Object</color>'' ''<color gray>key</color>'' |
| | * ''<color green>**Map**</color><K,V>.<color steelblue>**put**</color>(<color gray>key, value</color>)'' → ''V'' |
| | * ''K'' ''<color gray>key</color>'' |
| | * ''V'' ''<color gray>value</color>'' |
| | * ''<color green>**Map**</color><K,V>.<color steelblue>**remove**</color>(<color gray>key</color>)'' → ''V'' |
| | * ''<color green>Object</color>'' ''<color gray>key</color>'' |
| | |
| | * ''<color green>**Map**</color><K,V>.<color steelblue>**entrySet**</color>()'' → ''<color green>Set</color><<Map.Entry<K,V>>'' |
| | * ''<color green>**Map**</color><K,V>.<color steelblue>**keySet**</color>()'' → ''<color green>Set</color><K>'' |
| | * ''<color green>**Map**</color><K,V>.<color steelblue>**values**</color>()'' → ''<color green>Collection</color><V>'' |