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