function mapTo
source · line 38public
public fun <T, R> Sequence<T>.mapTo(destination: MutableSet<R>, transform: (T) -> R): MutableSet<R>
Extension receiver: Sequence<T>
Consumes this sequence. Appends transformed elements to the destination and returns it.
parameter destination
source · line 38public
destination: MutableSet<R>
parameter transform
source · line 38public
transform: (T) -> R
type parameter T
source · line 38public
T
type parameter R
source · line 38public
R
parameter receiver
source · line 38public
Sequence<T>