| clear() |
Removes all of the mappings from this map. |
| computeâ(K key, BiFunction<? super K,â? super V,â? extends V> remappingFunction) |
Attempts to compute a mapping for the specified key and its current mapped value (or null if there is no current mapping). |
| computeIfAbsentâ(K key, Function<? super K,â? extends V> mappingFunction) |
If the specified key is not already associated with a value, attempts to compute its value using the given mapping function and enters it into this map unless null. |
| computeIfPresentâ(K key, BiFunction<? super K,â? super V,â? extends V> remappingFunction) |
If the value for the specified key is present, attempts to compute a new mapping given the key and its current mapped value. |
| containsâ(Object value) |
Tests if some keymaps into the specified value in this table. |
| containsKeyâ(Object key) |
Tests if the specified object is a key in this table. |
| containsValueâ(Object value) |
Returns true if this map maps one or more keys to the specified value. |
| elements() |
Returns an enumeration of the values in this table. |
| entrySet() |
Returns a Set view of the mappings contained in this map. |
| equalsâ(Object o) |
Compares the specified object with this map for equality. |
| forEachâ(long parallelismThreshold, BiConsumer<? super K,â? super V> action) |
Performs the given action for each (key, value). |
| forEachâ(long parallelismThreshold, BiFunction<? super K,â? super V,â? extends U> transformer, Consumer<? super U> action) |
Performs the given action for each non-null transformation of each (key, value). |
| forEachEntryâ(long parallelismThreshold, Consumer<? super Map.Entry<K,âV>> action) |
Performs the given action for each entry. |
| forEachEntryâ(long parallelismThreshold, Function<Map.Entry<K,âV>,â? extends U> transformer, Consumer<? super U> action) |
Performs the given action for each non-null transformation of each entry. |
| forEachKeyâ(long parallelismThreshold, Consumer<? super K> action) |
Performs the given action for each key. |
| forEachKeyâ(long parallelismThreshold, Function<? super K,â? extends U> transformer, Consumer<? super U> action) |
Performs the given action for each non-null transformation of each key. |
| forEachValueâ(long parallelismThreshold, Consumer<? super V> action) |
Performs the given action for each value. |
| forEachValueâ(long parallelismThreshold, Function<? super V,â? extends U> transformer, Consumer<? super U> action) |
Performs the given action for each non-null transformation of each value. |
| getâ(Object key) |
Returns the value to which the specified key is mapped, or null if this map contains no mapping for the key. |
| getOrDefaultâ(Object key, V defaultValue) |
Returns the value to which the specified key is mapped, or the given default value if this map contains no mapping for the key. |
| hashCode() |
Returns the hash code value for this Map, i.e., the sum of, for each key-value pair in the map, key.hashCode() ^ value.hashCode(). |
| keys() |
Returns an enumeration of the keys in this table. |
| keySet() |
Returns a Set view of the keys contained in this map. |
| keySetâ(V mappedValue) |
Returns a Set view of the keys in this map, using the given common mapped value for any additions (i.e., Collection.add(E) and Collection.addAll(Collection)). |
| mappingCount() |
Returns the number of mappings. |
| mergeâ(K key, V value, BiFunction<? super V,â? super V,â? extends V> remappingFunction) |
If the specified key is not already associated with a (non-null) value, associates it with the given value. |
| newKeySet() |
Creates a new Set backed by a ConcurrentHashMap from the given type to Boolean.TRUE. |
| newKeySetâ(int initialCapacity) |
Creates a new Set backed by a ConcurrentHashMap from the given type to Boolean.TRUE. |
| putâ(K key, V value) |
Maps the specified key to the specified value in this table. |
| putAllâ(Map<? extends K,â? extends V> m) |
Copies all of the mappings from the specified map to this one. |
| putIfAbsentâ(K key, V value) |
If the specified key is not already associated with a value, associates it with the given value. |
| reduceâ(long parallelismThreshold, BiFunction<? super K,â? super V,â? extends U> transformer, BiFunction<? super U,â? super U,â? extends U> reducer) |
Returns the result of accumulating the given transformation of all (key, value) pairs using the given reducer to combine values, or null if none. |
| reduceEntriesâ(long parallelismThreshold, BiFunction<Map.Entry<K,âV>,âMap.Entry<K,âV>,â? extends Map.Entry<K,âV>> reducer) |
Returns the result of accumulating all entries using the given reducer to combine values, or null if none. |
| reduceEntriesâ(long parallelismThreshold, Function<Map.Entry<K,âV>,â? extends U> transformer, BiFunction<? super U,â? super U,â? extends U> reducer) |
Returns the result of accumulating the given transformation of all entries using the given reducer to combine values, or null if none. |
| reduceEntriesToDoubleâ(long parallelismThreshold, ToDoubleFunction<Map.Entry<K,âV>> transformer, double basis, DoubleBinaryOperator reducer) |
Returns the result of accumulating the given transformation of all entries using the given reducer to combine values, and the given basis as an identity value. |
| reduceEntriesToIntâ(long parallelismThreshold, ToIntFunction<Map.Entry<K,âV>> transformer, int basis, IntBinaryOperator reducer) |
Returns the result of accumulating the given transformation of all entries using the given reducer to combine values, and the given basis as an identity value. |
| reduceEntriesToLongâ(long parallelismThreshold, ToLongFunction<Map.Entry<K,âV>> transformer, long basis, LongBinaryOperator reducer) |
Returns the result of accumulating the given transformation of all entries using the given reducer to combine values, and the given basis as an identity value. |
| reduceKeysâ(long parallelismThreshold, BiFunction<? super K,â? super K,â? extends K> reducer) |
Returns the result of accumulating all keys using the given reducer to combine values, or null if none. |
| reduceKeysâ(long parallelismThreshold, Function<? super K,â? extends U> transformer, BiFunction<? super U,â? super U,â? extends U> reducer) |
Returns the result of accumulating the given transformation of all keys using the given reducer to combine values, or null if none. |
| reduceKeysToDoubleâ(long parallelismThreshold, ToDoubleFunction<? super K> transformer, double basis, DoubleBinaryOperator reducer) |
Returns the result of accumulating the given transformation of all keys using the given reducer to combine values, and the given basis as an identity value. |
| reduceKeysToIntâ(long parallelismThreshold, ToIntFunction<? super K> transformer, int basis, IntBinaryOperator reducer) |
Returns the result of accumulating the given transformation of all keys using the given reducer to combine values, and the given basis as an identity value. |
| reduceKeysToLongâ(long parallelismThreshold, ToLongFunction<? super K> transformer, long basis, LongBinaryOperator reducer) |
Returns the result of accumulating the given transformation of all keys using the given reducer to combine values, and the given basis as an identity value. |
| reduceToDoubleâ(long parallelismThreshold, ToDoubleBiFunction<? super K,â? super V> transformer, double basis, DoubleBinaryOperator reducer) |
Returns the result of accumulating the given transformation of all (key, value) pairs using the given reducer to combine values, and the given basis as an identity value. |
| reduceToIntâ(long parallelismThreshold, ToIntBiFunction<? super K,â? super V> transformer, int basis, IntBinaryOperator reducer) |
Returns the result of accumulating the given transformation of all (key, value) pairs using the given reducer to combine values, and the given basis as an identity value. |
| reduceToLongâ(long parallelismThreshold, ToLongBiFunction<? super K,â? super V> transformer, long basis, LongBinaryOperator reducer) |
Returns the result of accumulating the given transformation of all (key, value) pairs using the given reducer to combine values, and the given basis as an identity value. |
| reduceValuesâ(long parallelismThreshold, BiFunction<? super V,â? super V,â? extends V> reducer) |
Returns the result of accumulating all values using the given reducer to combine values, or null if none. |
| reduceValuesâ(long parallelismThreshold, Function<? super V,â? extends U> transformer, BiFunction<? super U,â? super U,â? extends U> reducer) |
Returns the result of accumulating the given transformation of all values using the given reducer to combine values, or null if none. |
| reduceValuesToDoubleâ(long parallelismThreshold, ToDoubleFunction<? super V> transformer, double basis, DoubleBinaryOperator reducer) |
Returns the result of accumulating the given transformation of all values using the given reducer to combine values, and the given basis as an identity value. |
| reduceValuesToIntâ(long parallelismThreshold, ToIntFunction<? super V> transformer, int basis, IntBinaryOperator reducer) |
Returns the result of accumulating the given transformation of all values using the given reducer to combine values, and the given basis as an identity value. |
| reduceValuesToLongâ(long parallelismThreshold, ToLongFunction<? super V> transformer, long basis, LongBinaryOperator reducer) |
Returns the result of accumulating the given transformation of all values using the given reducer to combine values, and the given basis as an identity value. |
| removeâ(Object key) |
Removes the key (and its corresponding value) from this map. |
| removeâ(Object key, Object value) |
Removes the entry for a key only if currently mapped to a given value. |
| replaceâ(K key, V value) |
Replaces the entry for a key only if currently mapped to some value. |
| replaceâ(K key, V oldValue, V newValue) |
Replaces the entry for a key only if currently mapped to a given value. |
| searchâ(long parallelismThreshold, BiFunction<? super K,â? super V,â? extends U> searchFunction) |
Returns a non-null result from applying the given search function on each (key, value), or null if none. |
| searchEntriesâ(long parallelismThreshold, Function<Map.Entry<K,âV>,â? extends U> searchFunction) |
Returns a non-null result from applying the given search function on each entry, or null if none. |
| searchKeysâ(long parallelismThreshold, Function<? super K,â? extends U> searchFunction) |
Returns a non-null result from applying the given search function on each key, or null if none. |
| searchValuesâ(long parallelismThreshold, Function<? super V,â? extends U> searchFunction) |
Returns a non-null result from applying the given search function on each value, or null if none. |
| toString() |
Returns a string representation of this map. |
| values() |
Returns a Collection view of the values contained in this map. |