StreamUtils

Functions

Link copied to clipboard
fun indexOf(stream: LongStream, value: Long): Int
Link copied to clipboard
fun <T> intersection(a: Stream<T>, b: Set<T>): Set<T>
Link copied to clipboard
fun <T> last(list: List<T>): T?
Link copied to clipboard
fun <T> removeLast(list: MutableList<T>): T?
Link copied to clipboard
fun <T> toList(iterable: Iterable<T>): List<T>
Link copied to clipboard
fun <T> toStream(iterable: Iterable<T>): Stream<T>