kotlin.sequences.flatten

flatten

fun <T> Sequence<Sequence<T>>.flatten(): Sequence<T>

Returns a sequence of all elements from all sequences in this sequence.

@JvmName("flattenSequenceOfIterable") fun <T> Sequence<Iterable<T>>.flatten(): Sequence<T>

Returns a sequence of all elements from all iterables in this sequence.

© 2010–2017 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
登录查看完整内容