collect

open fun <R, I> collect(list: Array<I>, transformer: Transformer<out R, in I>): List<R>(source)
open fun <R, I> collect(set: Set<out I>, transformer: Transformer<out R, in I>): Set<R>(source)
open fun <R, I> collect(source: Iterable<out I>, transformer: Transformer<out R, in I>): List<R>(source)
open fun <R, I, C : Collection<R>?> collect(source: Iterable<out I>, destination: C, transformer: Transformer<out R, in I>): C(source)