java:util:map

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판
이전 판
java:util:map [2024/02/05 14:08] – default 작성중 writerjava:util:map [2024/02/06 03:42] (현재) writer
줄 23: 줄 23:
  
 ===== Methods ===== ===== Methods =====
-  * ''default'' ''<color green>**Map**</color><K,V>.<color steelblue>**compute**</color>(<color gray>key, remappingFunction</color>)'' → ''V''+  * ''default'' ''<color green>**Map**</color><K,V>.<color steelblue>**replace**</color>(<color gray>key, oldValue, newValue</color>)'' → ''boolean''
     * ''K'' ''<color gray>key</color>''     * ''K'' ''<color gray>key</color>''
-    * ''<color green>BiFunction</color><? super K,? super V,? extends V>'' ''<color gray>remappingFunction</color>''+    * ''V'' ''<color gray>oldValue</color>'' 
 +    * ''V'' ''<color gray>newValue</color>'' 
 +  * ''default'' ''<color green>**Map**</color><K,V>.<color steelblue>**replace**</color>(<color gray>keyvalue</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''   * ''default'' ''<color green>**Map**</color><K,V>.<color steelblue>**computeIfAbsent**</color>(<color gray>key, mappingFunction</color>)'' → ''V''
     * ''K'' ''<color gray>key</color>''     * ''K'' ''<color gray>key</color>''
     * ''<color green>Function</color><? super K,? super V,? extends V>'' ''<color gray>mappingFunction</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''   * ''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>''     * ''K'' ''<color gray>key</color>''
     * ''<color green>BiFunction</color><? super K,? super V,? extends V>'' ''<color gray>remappingFunction</color>''     * ''<color green>BiFunction</color><? super K,? super V,? extends V>'' ''<color gray>remappingFunction</color>''
줄 35: 줄 52:
   * ''default'' ''<color green>**Map**</color><K,V>.<color steelblue>**forEach**</color>(<color gray>action</color>)'' → ''void''   * ''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>''     * ''<color green>BiConsumer</color><? super K,? super V>'' ''<color gray>action</color>''
-  * ''default'' ''<color green>**Map**</color><K,V>.<color steelblue>**getOrDefault**</color>(<color gray>key, defaultValue</color>)'' → ''V''+  * ''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>Object</color>'' ''<color gray>key</color>''
-    * ''V'' ''<color gray>defaultValue</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>''
  • /home/u613600155/domains/cli.zerotymer.net/public_html/data/attic/java/util/map.1707142123.txt.gz
  • 마지막으로 수정됨: 2024/02/05 14:08
  • 저자 writer