Better Java Streams with Gatherers in JDK 24 - Lecture 23

Better Java Streams with Gatherers in JDK 24 - Lecture 23

Java via YouTube Direct link

Implementing a parallel Gatherer with a combiner

33 of 37

33 of 37

Implementing a parallel Gatherer with a combiner

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

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.