Over a million developers have joined DZone.

Mastering Java 8 Streams (Part 2) [Video]

DZone 's Guide to

Mastering Java 8 Streams (Part 2) [Video]

Time for our second video lesson in Java streams. See how to use flatmaps, sort streams, and turn streams into maps.

· Java Zone ·
Free Resource

After learning the basics about Java 8 streams, it's time to get a bit more advanced. What's flatmap? How do you sort streams? And how do you turn any stream you like into a map?

I compiled a short, practical screencast to answer all these questions and don't worry, it's going to be fun again, with enough Donald Trump references.

java 8 streams ,flatmap ,map ,stream ,sorting

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}