booster / com.didiglobal.booster.kotlinx / java.util.concurrent.ForkJoinTask

Extensions for java.util.concurrent.ForkJoinTask

execute

Execute this task

fun <T> ForkJoinTask<T>.execute(): T

filter

fun <T> ForkJoinTask<Collection<T>>.filter(predicate: (T) -> Boolean): List<T>

forEach

fun <T> ForkJoinTask<Collection<T>>.forEach(action: (T) -> Unit): Unit

iterator

fun <T> ForkJoinTask<Collection<T>>.iterator(): Iterator<T>

map

fun <T, R> ForkJoinTask<Collection<T>>.map(transform: (T) -> R): List<R>