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

Extensions for kotlin.collections.Iterator

asIterable

fun <T> Iterator<T>.asIterable(): Iterable<T>

parallelStream

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

search

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

stream

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