toggle menu
shake
0.1.0
common
switch theme
search in API
com.shakelang.util.common-io
/
com.shakelang.util.io.streaming
/
Stream
/
map
map
open
fun
<
R
>
map
(
mapper
:
(
T
)
->
R
)
:
Stream
<
R
>
(
source
)
Map the stream to another stream
Return
The new stream
Since
0.5.0
Parameters
R
The type of the new stream
mapper
The mapper function