Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

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

FlexNet Code Aware, a free scan tool for developers. Scan Java, NuGet, and NPM packages for open source security and open source license compliance issues.

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.


 Scan Java, NuGet, and NPM packages for open source security and license compliance issues. 

Topics:
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 }}