In this section, you will learn:
-
How to process data declaratively, rather than algorithmically, using
Stream
s. -
How to filter, transform (map), and sort elements of a collection.
-
How to reduce elements into a single value (such as the minimum or maximum value).
-
How to group elements (based on some arbitrary property) to be processed together.
-
How to chain operations together to perform complex reductions.
We will focus on the more common operations and will avoid some of the darker corners whenever possible.