Deep Dive into Gatherers - JEP Cafe 24

Deep Dive into Gatherers - JEP Cafe 24

Java via YouTube Direct link

00:00 Intro

1 of 24

1 of 24

00:00 Intro

Class Central Classrooms beta

YouTube videos curated by Class Central.

Classroom Contents

Deep Dive into Gatherers - JEP Cafe 24

Automatically move to the next video in the Classroom when playback concludes

  1. 1 00:00 Intro
  2. 2 01:22 Modeling intermediate operations with Gatherers
  3. 3 04:36 Gatherer interface, gather method and Gatherers factor class
  4. 4 05:43 Writing a mapping Gatherer
  5. 5 10:14 Writing a filtering Gatherer
  6. 6 11:50 Writing a first, simple, but buggy flat-mapper
  7. 7 13:12 Exploring the Downstream object
  8. 8 16:28 Checking the rejecting state of a Downstream
  9. 9 18:45 Warning about the non-thread safety of Downstream
  10. 10 20:07 Checking the rejecting state for each push in the flat-mapping Gatherer
  11. 11 22:38 Closing properly your stream in the flat-mapping Gatherer
  12. 12 24:00 Fixing the race condition in the flat-mapping Gatherer
  13. 13 25:16 Protecing the flat-mapping Gatherer against NullPointerException
  14. 14 26:05 Writing a skipping Gatherer with an internal mutable state
  15. 15 29:21 Writing a limiting Gatherer
  16. 16 29:40 Writing a distinct Gatherer with an internal HashSet
  17. 17 30:30 Declaring the distinct Gatherer a Greedy Gatherer
  18. 18 32:26 Writing a sorting Gatherer with an internal TreeSet and a Finisher
  19. 19 35:06 Checking the rejecting state of a Downstream in a Finisher
  20. 20 36:53 Using a sequential Gatherer in a parallel stream
  21. 21 40:59 Creating parallel Gatherers with an internal state and a Combiner
  22. 22 44:24 Chaining Gatherer with the andThen method
  23. 23 45:45 Using mapConcurrent from the Gatherers factory class
  24. 24 49:12 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.