| 程序包 | 说明 |
|---|---|
| org.skfiy.util.v8 |
| 限定符和类型 | 方法和说明 |
|---|---|
V |
ConcurrentHashMapV8.computeIfAbsent(K key,
ConcurrentHashMapV8.Fun<? super K,? extends V> mappingFunction)
If the specified key is not already associated with a value, computes its
value using the given mappingFunction and enters it into the map unless
null.
|
static <K,V,U> ForkJoinTask<Void> |
ConcurrentHashMapV8.ForkJoinTasks.forEachEntry(ConcurrentHashMapV8<K,V> map,
ConcurrentHashMapV8.Fun<Map.Entry<K,V>,? extends U> transformer,
ConcurrentHashMapV8.Action<U> action)
Returns a task that when invoked, perform the given action for each
non-null transformation of each entry.
|
<U> void |
ConcurrentHashMapV8.forEachEntryInParallel(ConcurrentHashMapV8.Fun<Map.Entry<K,V>,? extends U> transformer,
ConcurrentHashMapV8.Action<U> action)
Performs the given action for each non-null transformation of each entry.
|
<U> void |
ConcurrentHashMapV8.forEachEntrySequentially(ConcurrentHashMapV8.Fun<Map.Entry<K,V>,? extends U> transformer,
ConcurrentHashMapV8.Action<U> action)
Performs the given action for each non-null transformation of each entry.
|
static <K,V,U> ForkJoinTask<Void> |
ConcurrentHashMapV8.ForkJoinTasks.forEachKey(ConcurrentHashMapV8<K,V> map,
ConcurrentHashMapV8.Fun<? super K,? 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.
|
<U> void |
ConcurrentHashMapV8.forEachKeyInParallel(ConcurrentHashMapV8.Fun<? super K,? extends U> transformer,
ConcurrentHashMapV8.Action<U> action)
Performs the given action for each non-null transformation of each key.
|
<U> void |
ConcurrentHashMapV8.forEachKeySequentially(ConcurrentHashMapV8.Fun<? super K,? extends U> transformer,
ConcurrentHashMapV8.Action<U> action)
Performs the given action for each non-null transformation of each key.
|
static <K,V,U> ForkJoinTask<Void> |
ConcurrentHashMapV8.ForkJoinTasks.forEachValue(ConcurrentHashMapV8<K,V> map,
ConcurrentHashMapV8.Fun<? 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 value.
|
<U> void |
ConcurrentHashMapV8.forEachValueInParallel(ConcurrentHashMapV8.Fun<? super V,? extends U> transformer,
ConcurrentHashMapV8.Action<U> action)
Performs the given action for each non-null transformation of each value.
|
<U> void |
ConcurrentHashMapV8.forEachValueSequentially(ConcurrentHashMapV8.Fun<? super V,? extends U> transformer,
ConcurrentHashMapV8.Action<U> action)
Performs the given action for each non-null transformation of each value.
|
static <K,V,U> 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.
|
<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.
|
<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.
|
static <K,V,U> 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.
|
<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.
|
<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.
|
static <K,V,U> 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.
|
<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.
|
<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> ForkJoinTask<U> |
ConcurrentHashMapV8.ForkJoinTasks.searchEntries(ConcurrentHashMapV8<K,V> map,
ConcurrentHashMapV8.Fun<Map.Entry<K,V>,? extends U> searchFunction)
Returns a task that when invoked, returns a non-null result from
applying the given search function on each entry, or null if none.
|
<U> U |
ConcurrentHashMapV8.searchEntriesInParallel(ConcurrentHashMapV8.Fun<Map.Entry<K,V>,? extends U> searchFunction)
Returns a non-null result from applying the given search function on each
entry, or null if none.
|
<U> U |
ConcurrentHashMapV8.searchEntriesSequentially(ConcurrentHashMapV8.Fun<Map.Entry<K,V>,? extends U> searchFunction)
Returns a non-null result from applying the given search function on each
entry, or null if none.
|
static <K,V,U> ForkJoinTask<U> |
ConcurrentHashMapV8.ForkJoinTasks.searchKeys(ConcurrentHashMapV8<K,V> map,
ConcurrentHashMapV8.Fun<? super K,? extends U> searchFunction)
Returns a task that when invoked, returns a non-null result from
applying the given search function on each key, or null if none.
|
<U> U |
ConcurrentHashMapV8.searchKeysInParallel(ConcurrentHashMapV8.Fun<? super K,? extends U> searchFunction)
Returns a non-null result from applying the given search function on each
key, or null if none.
|
<U> U |
ConcurrentHashMapV8.searchKeysSequentially(ConcurrentHashMapV8.Fun<? super K,? extends U> searchFunction)
Returns a non-null result from applying the given search function on each
key, or null if none.
|
static <K,V,U> ForkJoinTask<U> |
ConcurrentHashMapV8.ForkJoinTasks.searchValues(ConcurrentHashMapV8<K,V> map,
ConcurrentHashMapV8.Fun<? super V,? extends U> searchFunction)
Returns a task that when invoked, returns a non-null result from
applying the given search function on each value, or null if none.
|
<U> U |
ConcurrentHashMapV8.searchValuesInParallel(ConcurrentHashMapV8.Fun<? super V,? extends U> searchFunction)
Returns a non-null result from applying the given search function on each
value, or null if none.
|
<U> U |
ConcurrentHashMapV8.searchValuesSequentially(ConcurrentHashMapV8.Fun<? super V,? extends U> searchFunction)
Returns a non-null result from applying the given search function on each
value, or null if none.
|
Copyright © 2013 The Skfiy Open Association. All Rights Reserved.