Package | Description |
---|---|
org.infinispan.commons.util.concurrent.jdk8backported |
Modifier and Type | Method and Description |
---|---|
V |
EquivalentConcurrentHashMapV8.compute(K key,
EquivalentConcurrentHashMapV8.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 |
EquivalentConcurrentHashMapV8.computeIfPresent(K key,
EquivalentConcurrentHashMapV8.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.
|
<U> void |
EquivalentConcurrentHashMapV8.forEach(long parallelismThreshold,
EquivalentConcurrentHashMapV8.BiFun<? super K,? super V,? extends U> transformer,
EquivalentConcurrentHashMapV8.Action<? super U> action)
Performs the given action for each non-null transformation
of each (key, value).
|
V |
EquivalentConcurrentHashMapV8.merge(K key,
V value,
EquivalentConcurrentHashMapV8.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.
|
<U> U |
EquivalentConcurrentHashMapV8.reduce(long parallelismThreshold,
EquivalentConcurrentHashMapV8.BiFun<? super K,? super V,? extends U> transformer,
EquivalentConcurrentHashMapV8.BiFun<? 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.
|
<U> U |
EquivalentConcurrentHashMapV8.reduce(long parallelismThreshold,
EquivalentConcurrentHashMapV8.BiFun<? super K,? super V,? extends U> transformer,
EquivalentConcurrentHashMapV8.BiFun<? 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.
|
Map.Entry<K,V> |
EquivalentConcurrentHashMapV8.reduceEntries(long parallelismThreshold,
EquivalentConcurrentHashMapV8.BiFun<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.
|
<U> U |
EquivalentConcurrentHashMapV8.reduceEntries(long parallelismThreshold,
EquivalentConcurrentHashMapV8.Fun<Map.Entry<K,V>,? extends U> transformer,
EquivalentConcurrentHashMapV8.BiFun<? 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.
|
K |
EquivalentConcurrentHashMapV8.reduceKeys(long parallelismThreshold,
EquivalentConcurrentHashMapV8.BiFun<? 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.
|
<U> U |
EquivalentConcurrentHashMapV8.reduceKeys(long parallelismThreshold,
EquivalentConcurrentHashMapV8.Fun<? super K,? extends U> transformer,
EquivalentConcurrentHashMapV8.BiFun<? 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.
|
V |
EquivalentConcurrentHashMapV8.reduceValues(long parallelismThreshold,
EquivalentConcurrentHashMapV8.BiFun<? 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.
|
<U> U |
EquivalentConcurrentHashMapV8.reduceValues(long parallelismThreshold,
EquivalentConcurrentHashMapV8.Fun<? super V,? extends U> transformer,
EquivalentConcurrentHashMapV8.BiFun<? 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.
|
void |
EquivalentConcurrentHashMapV8.replaceAll(EquivalentConcurrentHashMapV8.BiFun<? super K,? super V,? extends V> function) |
<U> U |
EquivalentConcurrentHashMapV8.search(long parallelismThreshold,
EquivalentConcurrentHashMapV8.BiFun<? 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.
|
Copyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.