| Package | Description |
|---|---|
| io.netty.util.internal.chmv8 |
| Modifier and Type | Method and Description |
|---|---|
V |
ConcurrentHashMapV8.compute(K key,
ConcurrentHashMapV8.BiFun<? super K,? super V,? extends V> remappingFunction)
Computes a new mapping value given a 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 given key is present, computes a new mapping value given a key and
its current mapped value.
|
static <K,V,U> io.netty.util.internal.chmv8.ForkJoinTask<Void> |
ConcurrentHashMapV8.ForkJoinTasks.forEach(ConcurrentHashMapV8<K,V> map,
ConcurrentHashMapV8.BiFun<? super K,? super V,? extends U> transformer,
ConcurrentHashMapV8.Action<U> action)
Returns a task that when invoked, performs the given
action for each non-null transformation of each (key, value)
|
<U> void |
ConcurrentHashMapV8.forEachInParallel(ConcurrentHashMapV8.BiFun<? super K,? super V,? extends U> transformer,
ConcurrentHashMapV8.Action<U> action)
Performs the given action for each non-null transformation
of each (key, value).
|
<U> void |
ConcurrentHashMapV8.forEachSequentially(ConcurrentHashMapV8.BiFun<? super K,? super V,? extends U> transformer,
ConcurrentHashMapV8.Action<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 value, associate it with the given value.
|
static <K,V,U> io.netty.util.internal.chmv8.ForkJoinTask<U> |
ConcurrentHashMapV8.ForkJoinTasks.reduce(ConcurrentHashMapV8<K,V> map,
ConcurrentHashMapV8.BiFun<? super K,? super V,? extends U> transformer,
ConcurrentHashMapV8.BiFun<? super U,? super U,? extends U> reducer)
Returns a task that when invoked, returns the result of
accumulating the given transformation of all (key, value) pairs
using the given reducer to combine values, or null if none.
|
static <K,V,U> io.netty.util.internal.chmv8.ForkJoinTask<U> |
ConcurrentHashMapV8.ForkJoinTasks.reduce(ConcurrentHashMapV8<K,V> map,
ConcurrentHashMapV8.BiFun<? super K,? super V,? extends U> transformer,
ConcurrentHashMapV8.BiFun<? super U,? super U,? extends U> reducer)
Returns a task that when invoked, returns the result of
accumulating the given transformation of all (key, value) pairs
using the given reducer to combine values, or null if none.
|
static <K,V> io.netty.util.internal.chmv8.ForkJoinTask<Map.Entry<K,V>> |
ConcurrentHashMapV8.ForkJoinTasks.reduceEntries(ConcurrentHashMapV8<K,V> map,
ConcurrentHashMapV8.BiFun<Map.Entry<K,V>,Map.Entry<K,V>,? extends Map.Entry<K,V>> reducer)
Returns a task that when invoked, returns the result of
accumulating all entries using the given reducer to combine
values, or null if none.
|
static <K,V,U> io.netty.util.internal.chmv8.ForkJoinTask<U> |
ConcurrentHashMapV8.ForkJoinTasks.reduceEntries(ConcurrentHashMapV8<K,V> map,
ConcurrentHashMapV8.Fun<Map.Entry<K,V>,? extends U> transformer,
ConcurrentHashMapV8.BiFun<? super U,? super U,? extends U> reducer)
Returns a task that when invoked, returns the result of
accumulating the given transformation of all entries using the
given reducer to combine values, or null if none.
|
Map.Entry<K,V> |
ConcurrentHashMapV8.reduceEntriesInParallel(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.reduceEntriesInParallel(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.
|
Map.Entry<K,V> |
ConcurrentHashMapV8.reduceEntriesSequentially(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.reduceEntriesSequentially(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.
|
<U> U |
ConcurrentHashMapV8.reduceInParallel(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.reduceInParallel(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.
|
static <K,V> io.netty.util.internal.chmv8.ForkJoinTask<K> |
ConcurrentHashMapV8.ForkJoinTasks.reduceKeys(ConcurrentHashMapV8<K,V> map,
ConcurrentHashMapV8.BiFun<? super K,? super K,? extends K> reducer)
Returns a task that when invoked, returns the result of
accumulating all keys using the given reducer to combine
values, or null if none.
|
static <K,V,U> io.netty.util.internal.chmv8.ForkJoinTask<U> |
ConcurrentHashMapV8.ForkJoinTasks.reduceKeys(ConcurrentHashMapV8<K,V> map,
ConcurrentHashMapV8.Fun<? super K,? extends U> transformer,
ConcurrentHashMapV8.BiFun<? super U,? super U,? extends U> reducer)
Returns a task that when invoked, returns the result of
accumulating the given transformation of all keys using the given
reducer to combine values, or null if none.
|
K |
ConcurrentHashMapV8.reduceKeysInParallel(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.reduceKeysInParallel(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.
|
K |
ConcurrentHashMapV8.reduceKeysSequentially(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.reduceKeysSequentially(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.
|
<U> U |
ConcurrentHashMapV8.reduceSequentially(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.reduceSequentially(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.
|
static <K,V> io.netty.util.internal.chmv8.ForkJoinTask<V> |
ConcurrentHashMapV8.ForkJoinTasks.reduceValues(ConcurrentHashMapV8<K,V> map,
ConcurrentHashMapV8.BiFun<? super V,? super V,? extends V> reducer)
Returns a task that when invoked, returns the result of
accumulating all values using the given reducer to combine
values, or null if none.
|
static <K,V,U> io.netty.util.internal.chmv8.ForkJoinTask<U> |
ConcurrentHashMapV8.ForkJoinTasks.reduceValues(ConcurrentHashMapV8<K,V> map,
ConcurrentHashMapV8.Fun<? super V,? extends U> transformer,
ConcurrentHashMapV8.BiFun<? super U,? super U,? extends U> reducer)
Returns a task that when invoked, returns the result of
accumulating the given transformation of all values using the
given reducer to combine values, or null if none.
|
V |
ConcurrentHashMapV8.reduceValuesInParallel(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.reduceValuesInParallel(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.
|
V |
ConcurrentHashMapV8.reduceValuesSequentially(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.reduceValuesSequentially(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.
|
static <K,V,U> io.netty.util.internal.chmv8.ForkJoinTask<U> |
ConcurrentHashMapV8.ForkJoinTasks.search(ConcurrentHashMapV8<K,V> map,
ConcurrentHashMapV8.BiFun<? super K,? super V,? extends U> searchFunction)
Returns a task that when invoked, returns a non-null result
from applying the given search function on each (key,
value), or null if none.
|
<U> U |
ConcurrentHashMapV8.searchInParallel(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.
|
<U> U |
ConcurrentHashMapV8.searchSequentially(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 © 2008-2013 The Netty Project. All Rights Reserved.