Journey’s End: Collection and Reduction in the Streams API
3,200 views · Published 2 October 2017 · 1:56:52 · Indexed 28 October 2026
Channel: Java · 2017 · Science & Technology
Maurice Naftalin, Principal Developer, Morningside Light Ltd For streams to do useful work, they must end in a terminal operation. Most often that will be a collector, a new kind of operation invented for the Streams API. To use streams effectively, you need to understand how collectors work, what predefined collectors are available, and the factors that affect collector performance. This deep dive into the Collectors API explores the many predefined collectors and how to combine them for added power. You’ll do practical work, learning how to choose the right composition of collectors to solve practical programming problems. And you’ll see the difference between collection and reduction, how to recognize when you need to write your own collector, and the principles and rules for doing that.
More from this channel
-
12:53
JavaOne OnSite -- Java User Group Sunday with Community Leaders
-
14:29
JavaOne Onsite -- Duke's Choice Award Winners
-
5:46
Java at Mobile World Congress 2011
-
3:40
Java at Mobile World Congress #3
-
3:32
JavaOne Juniper Keynote Highlights 10-4-2011
-
2:18
Duke's Choice Award Winners: JFrog
-
5:05
JavaFX Expert Jim Weaver Discusses JavaFX 2.0
-
11:07
Meet The Experts JavaOne Japan Part 2 - Chuck Munn Lee