- clear() - Method in interface java.util.Map
-
Removes all of the mappings from this map (optional operation).
- compute(K, BiFunction<? super K, ? super V, ? extends V>) - Method in interface java.util.Map
-
Attempts to compute a mapping for the specified key and its
current mapped value (or null
if there is no current
mapping).
- computeIfAbsent(K, Function<? super K, ? extends V>) - Method in interface java.util.Map
-
If the specified key is not already associated with a value (or
is mapped to null
), attempts to compute its value using
the given mapping function and enters it into this map unless
null
.
- computeIfPresent(K, BiFunction<? super K, ? super V, ? extends V>) - Method in interface java.util.Map
-
If the value for the specified key is present and non-null,
attempts to compute a new mapping given the key and its current
mapped value.
- containsKey(Object) - Method in interface java.util.Map
-
Returns true if this map contains a mapping for the specified
key.
- containsValue(Object) - Method in interface java.util.Map
-
Returns true if this map maps one or more keys to the
specified value.