Stream Map
Functional pipelines.
💡 THINK OF IT LIKE…
▸ YOUR TURN
Write: nums.stream().map(n -> n * 2).toList();
Tab indent · Shift+Tab outdent · ⌘/Ctrl + Enter submit · auto-pairs ( [ { " '
Functional pipelines.
Write: nums.stream().map(n -> n * 2).toList();