Additional sample videos, individual lessons and other formats are available here.
Register your product to gain access to bonus material or receive a coupon.
Lesson 18 starts off by looking at fancy ways to output, partition, or group streams. It then explains how to use parallel streams—one of the most powerful stream features—and gives a number of examples where parallel streams do or do not work effectively. The lesson closes with an explanation of so-called "infinite" streams: streams that have no preset size, but rather use a generator function to build the elements as they are needed.