Package | Description |
---|---|
com.ning.http.client.providers.netty.chmv8 |
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.
|
<U> void |
ConcurrentHashMapV8.forEach(long parallelismThreshold,
ConcurrentHashMapV8.BiFun<? super K,? super V,? extends U> transformer,
ConcurrentHashMapV8.Action<? super U> action)
Performs the given action for each non-null transformation
of each (key, 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.
|
<U> U |
ConcurrentHashMapV8.reduce(long parallelismThreshold,
ConcurrentHashMapV8.BiFun<? super K,? super V,? extends U> transformer,
ConcurrentHashMapV8.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 |
ConcurrentHashMapV8.reduce(long parallelismThreshold,
ConcurrentHashMapV8.BiFun<? super K,? super V,? extends U> transformer,
ConcurrentHashMapV8.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> |
ConcurrentHashMapV8.reduceEntries(long parallelismThreshold,
ConcurrentHashMapV8.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 |
ConcurrentHashMapV8.reduceEntries(long parallelismThreshold,
ConcurrentHashMapV8.Fun<Map.Entry<K,V>,? extends U> transformer,
ConcurrentHashMapV8.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 |
ConcurrentHashMapV8.reduceKeys(long parallelismThreshold,
ConcurrentHashMapV8.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 |
ConcurrentHashMapV8.reduceKeys(long parallelismThreshold,
ConcurrentHashMapV8.Fun<? super K,? extends U> transformer,
ConcurrentHashMapV8.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 |
ConcurrentHashMapV8.reduceValues(long parallelismThreshold,
ConcurrentHashMapV8.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 |
ConcurrentHashMapV8.reduceValues(long parallelismThreshold,
ConcurrentHashMapV8.Fun<? super V,? extends U> transformer,
ConcurrentHashMapV8.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 |
ConcurrentHashMapV8.replaceAll(ConcurrentHashMapV8.BiFun<? super K,? super V,? extends V> function) |
<U> U |
ConcurrentHashMapV8.search(long parallelismThreshold,
ConcurrentHashMapV8.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 © 2016. All Rights Reserved.