Package extra166y
Interface CustomConcurrentHashMap.RemappingFunction<K,V>
- Enclosing class:
CustomConcurrentHashMap<K,
V>
public static interface CustomConcurrentHashMap.RemappingFunction<K,V>
A function computing a new mapping from the given key and its
current value to a new value, or
null
if there is
no mapping-
Method Summary
-
Method Details
-
remap
Returns a new value for the given key and its current, or null if there is no mapping.- Parameters:
key
- the keyvalue
- the current value, or null if none- Returns:
- a value, or null if none
-