MapStream

constructor(stream: Stream<T>, mapper: (T) -> R)(source)

Parameters

R

The type of the new stream

mapper

The mapper function