public interface ParallelIterableMap<K,V>
|Modifier and Type||Method and Description|
Performs the given action for each (key, value) but traversing entries in parallel.
void forEach(long parallelismThreshold, BiConsumer<? super K,? super V> action) throws InterruptedException
parallelismThreshold- the (estimated) number of elements needed for this operation to be executed in parallel
action- the action
Copyright © 2015 JBoss, a division of Red Hat. All rights reserved.