tornadofx / tornadofx / kotlin.sequences.Sequence

Extensions for kotlin.sequences.Sequence

mapEach fun <T, R> Sequence<T>.mapEach(action: T.() -> R): <ERROR CLASS>

map with the element as receiver.

mapEachTo fun <T, R, C : MutableCollection<in R>> Sequence<T>.mapEachTo(destination: C, action: T.() -> R): <ERROR CLASS>

mapTo with the element as receiver.

withEach fun <T> Sequence<T>.withEach(action: T.() -> Unit): <ERROR CLASS>

forEach with the element as receiver.