-
public class Parallel
-
-
Method Summary
Modifier and Type Method Description final <A extends Any, B extends Any> Collection<B>map(Iterable<A> iterable, Function2<CoroutineScope, A, B> mapper)final <A extends Any, B extends Any> List<B>map(Iterable<A> iterable, Function1<A, Boolean> filter, Function2<CoroutineScope, A, B> mapper)final <A extends Any> Uniteach(Iterable<A> iterable, Function2<CoroutineScope, A, Unit> callback)final <A extends Any> Unitwith(Iterable<A> iterable, Function1<A, Unit> callback)final <A extends Any, B extends Any> List<B>poolMap(Iterable<A> iterable, Function2<CoroutineScope, A, B> mapper)final <A extends Any, B extends Any> List<B>poolMap(Integer threads, String name, Iterable<A> iterable, Function2<CoroutineScope, A, B> mapper)final <A extends Any> UnitpoolEach(Iterable<A> iterable, Function2<CoroutineScope, A, Unit> callback)final <A extends Any> UnitpoolEach(Integer threads, String name, Iterable<A> iterable, Function2<CoroutineScope, A, Unit> callback)final IntegergetPoolThreads()final StringgetPoolName()-
-
Method Detail
-
map
final <A extends Any, B extends Any> Collection<B> map(Iterable<A> iterable, Function2<CoroutineScope, A, B> mapper)
-
map
final <A extends Any, B extends Any> List<B> map(Iterable<A> iterable, Function1<A, Boolean> filter, Function2<CoroutineScope, A, B> mapper)
-
each
final <A extends Any> Unit each(Iterable<A> iterable, Function2<CoroutineScope, A, Unit> callback)
-
poolMap
final <A extends Any, B extends Any> List<B> poolMap(Iterable<A> iterable, Function2<CoroutineScope, A, B> mapper)
-
poolMap
final <A extends Any, B extends Any> List<B> poolMap(Integer threads, String name, Iterable<A> iterable, Function2<CoroutineScope, A, B> mapper)
-
poolEach
final <A extends Any> Unit poolEach(Iterable<A> iterable, Function2<CoroutineScope, A, Unit> callback)
-
poolEach
final <A extends Any> Unit poolEach(Integer threads, String name, Iterable<A> iterable, Function2<CoroutineScope, A, Unit> callback)
-
getPoolThreads
final Integer getPoolThreads()
-
getPoolName
final String getPoolName()
-
-
-
-