# Map a stream Write several examples of mapping a stream via **map()** and **flatMap()**.