public interface ParallelIterableMap<K,V>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
ParallelIterableMap.KeyValueAction<A,B>
Interface describing an action where input is map's key/value pair
|
| Modifier and Type | Method and Description |
|---|---|
void |
forEach(long parallelismThreshold,
ParallelIterableMap.KeyValueAction<? super K,? super V> action)
Performs the given action for each (key, value) but traversing entries in parallel.
|
void forEach(long parallelismThreshold,
ParallelIterableMap.KeyValueAction<? super K,? super V> action)
parallelismThreshold - the (estimated) number of elements
needed for this operation to be executed in parallelaction - the actionCopyright © 2015 JBoss, a division of Red Hat. All rights reserved.