Map<K,V>
public interface Map<K,V>
Inherired
Nested Class
Map.Entry
static Map.Entry<K,V>
staticMap.Entry<K,V>.comparingByKey()→Comparator<Map.Entry<K,V»
staticMap.Entry<K,V>.comparingByKey(cmp)→Comparator<Map.Entry<K,V»Comparator<? super K>cmp
staticMap.Entry<K,V>.comparingByValue()→Comparator<Map.Entry<K,V»
staticMap.Entry<K,V>.comparingByValue(cmp)→Comparator<Map.Entry<K,V»Comparator<? super K>cmp
Map.Entry<K,V>.equals(o)→booleanObjecto
Map.Entry<K,V>.getKey()→KMap.Entry<K,V>.getValue()→VMap.Entry<K,V>.hashCode()→intMap.Entry<K,V>.setValue(value)→VVvalue
Methods
defaultMap<K,V>.replace(key, oldValue, newValue)→booleanKkeyVoldValueVnewValue
defaultMap<K,V>.replace(key, value)→VKkeyVvalue
defaultMap<K,V>.remove(key, value)→VObjectkeyObjectvalue
defaultMap<K,V>.getOrDefault(key, defaultValue)→VObjectkeyVdefaultValue
defaultMap<K,V>.putIfAbsent(key, value)→VKkeyVvalue
defaultMap<K,V>.computeIfAbsent(key, mappingFunction)→VKkeyFunction<? super K,? super V,? extends V>mappingFunction
defaultMap<K,V>.computeIfPresent(key, remappingFunction)→VKkeyBiFunction<? super K,? super V,? extends V>remappingFunction
defaultMap<K,V>.compute(key, remappingFunction)→VKkeyBiFunction<? super K,? super V,? extends V>remappingFunction
defaultMap<K,V>.forEach(action)→voidBiConsumer<? super K,? super V>action
defaultMap<K,V>.replaceAll(function)→voidBiFunction<? super K,? super V,? extends V>function
defaultMap<K,V>.merge(key, value, remappingFunction)→VKkeyVvalueBiFunction<? super K,? super V,? extends V>remappingFunction
Map<K,V>.clear()→voidMap<K,V>.putAll(m)→voidMap<? extends K,? extends V>m
Map<K,V>.isEmpty()→booleanMap<K,V>.equals(o)→booleanObjecto
Map<K,V>.containsKey(key)→booleanObjectkey
Map<K,V>.containsValue(value)→booleanObjectvalue
Map<K,V>.hashCode()→intMap<K,V>.size()→int
Map<K,V>.get(key)→VObjectkey
Map<K,V>.put(key, value)→VKkeyVvalue
Map<K,V>.remove(key)→VObjectkey
Map<K,V>.entrySet()→Set«Map.Entry<K,V»Map<K,V>.keySet()→Set<K>Map<K,V>.values()→Collection<V>