Package | Description |
---|---|
com.toolsverse.util.concurrentlinkedhashmap |
This package contains an implementation of a bounded
ConcurrentMap data structure. |
Modifier and Type | Method and Description |
---|---|
V |
ConcurrentHashMapV8.compute(K key,
ConcurrentHashMapV8.BiFun<? 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). |
V |
ConcurrentHashMapV8.computeIfPresent(K key,
ConcurrentHashMapV8.BiFun<? 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.
|
V |
ConcurrentHashMapV8.merge(K key,
V value,
ConcurrentHashMapV8.BiFun<? 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.
|
void |
ConcurrentHashMapV8.replaceAll(ConcurrentHashMapV8.BiFun<? super K,? super V,? extends V> function) |
Copyright © 2010-2020 Toolsverse. All Rights Reserved.