Chapter 1. The Java SE 8 Stream Library
In this chapter
• 1.1 From Iterating to Stream Operations
• 1.3 The filter
, map
, and flatMap
Methods
• 1.4 Extracting Substreams and Concatenating Streams
• 1.5 Other Stream Transformations
Streams provide a view of data that lets you specify computations at a higher conceptual level than with collections. With a stream, you specify what you want to have done, not how to do it. You leave the scheduling of operations to the implementation. For ...
Get Core Java, Volume II—Advanced Features, Tenth Edition now with the O’Reilly learning platform.
O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.