Completed
Introduction
Class Central Classrooms beta
YouTube videos curated by Class Central.
Classroom Contents
Better Java Streams with Gatherers in JDK 24 - Lecture 23
Automatically move to the next video in the Classroom when playback concludes
- 1 Introduction
- 2 Introducing the Stream API
- 3 Connecting a Stream to a source of data
- 4 Calling method on a Stream
- 5 Making the difference intermediate and terminal operations
- 6 Triggering the computation with a terminal operation
- 7 Producing elements with an intermadiate operation
- 8 Validating elements with flatMap and mapMulti
- 9 Terminating a stream with an intermediate operation
- 10 Delaying the start of a computation with an internal mutable state
- 11 Bufferzing stream elements in an intermadiate operation
- 12 Methods you should only use for debugging
- 13 Characteristics of a Stream
- 14 Using forEach for debugging
- 15 Reducing a stream with count, min, max, sum, or average
- 16 Short-circuiting a stream with terminal operations
- 17 Reducing a stream in a mutable container with a collector
- 18 Creating your own Collector from a supplier, and an accumulator
- 19 Adding a finisher to a Collector to create non modifiable containers
- 20 Using collectors outside of the Stream API
- 21 Going parallel with Streams
- 22 Using parallel streams with SIZED and SUBSIZED sources
- 23 Sharing mutable state in parallel streams
- 24 Reducing parallel streams with associative reductions
- 25 Choosing to use parallel streams
- 26 Modeling intermediate stream operations with Gatherers
- 27 Writing a mapping Gatherer
- 28 Writing an interrupting Gatherer holding an internal mutable state
- 29 Managing the stream interruption with your integrator
- 30 Optimizing a Gatherer with a greedy integrator
- 31 Writing a sliding window Gatherer
- 32 Writing a correct windowing Gatherer with a finisher
- 33 Implementing a parallel Gatherer with a combiner
- 34 Adding the combiner to enable parallel gathering
- 35 Using non-parallel Gatherers in parallel Streams
- 36 Wrapping up Gatherers
- 37 That's it for today, talk to you soon!