| 程序包 | 说明 |
|---|---|
| org.skfiy.util.v8 |
| 限定符和类型 | 方法和说明 |
|---|---|
static <K,V> ForkJoinTask<Integer> |
ConcurrentHashMapV8.ForkJoinTasks.reduceToInt(ConcurrentHashMapV8<K,V> map,
ConcurrentHashMapV8.ObjectByObjectToInt<? super K,? super V> transformer,
int basis,
ConcurrentHashMapV8.IntByIntToInt 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, and the given basis as an identity value.
|
int |
ConcurrentHashMapV8.reduceToIntInParallel(ConcurrentHashMapV8.ObjectByObjectToInt<? super K,? super V> transformer,
int basis,
ConcurrentHashMapV8.IntByIntToInt reducer)
Returns the result of accumulating the given transformation of all (key,
value) pairs using the given reducer to combine values, and the given
basis as an identity value.
|
int |
ConcurrentHashMapV8.reduceToIntSequentially(ConcurrentHashMapV8.ObjectByObjectToInt<? super K,? super V> transformer,
int basis,
ConcurrentHashMapV8.IntByIntToInt reducer)
Returns the result of accumulating the given transformation of all (key,
value) pairs using the given reducer to combine values, and the given
basis as an identity value.
|
Copyright © 2013 The Skfiy Open Association. All Rights Reserved.