Professional Documents
Culture Documents
Chapter 4 - Part 2
Chapter 4 - Part 2
Chapter 4 introduces the concept of a stream and explains how it compares with a collection.
Chapter 5 investigates in detail the stream operations available to express sophisticated data processing queries. You’ll look at
many patterns such as filtering, slicing, finding, matching, mapping, and reducing.
Chapter 6 covers collectors—a feature of the Streams API that lets you express even more complex data processing queries.
In chapter 7, you’ll learn about how streams can automatically run in parallel and leverage your multicore architectures. In addi-
tion, you’ll learn about various pitfalls to avoid when using parallel streams correctly and effectively.