JavaStreamflatMap
map

flatMapStream

collect

各要素をマップされたストリームの内容に置き換えたストリームを返します。

構文

stream.flatMap(mapper)