booster / com.didiglobal.booster.kotlinx / kotlin.collections.Iterable

Extensions for kotlin.collections.Iterable

isEmpty

fun <T> Iterable<T>.isEmpty(): Boolean

parallelStream

fun <T> Iterable<T>.parallelStream(): Stream<T>

search

fun Iterable<File>.search(filter: (File) -> Boolean = { true }): Collection<File>

stream

fun <T> Iterable<T>.stream(): Stream<T>