Implementing New Java Stream Operations
Автор: nipafx
Загружено: 2023-11-02
Просмотров: 5087
Описание:
JEP 461 proposes `Stream::gather` and `Gatherer` - a new intermediate meta-operation that can be used to implement all kinds of specific operations, from existing ones like `map` and `sorted` to new ones like `flatMapIf` and `increasingSequence`. In this video I implement these and more operations.
JEP 461: https://openjdk.org/jeps/461
Inside Java Newscast #:57: • Better Java Streams with Gatherers - Insid...
Code for your experimentation: https://github.com/nipafx/demo-java-x...
~~~ Chapters ~~~
0:00 Intro
0:22 doNothing
2:15 map
3:03 filter
3:57 flatMapIf
5:59 takeWhileIncluding
10:30 limit
14:23 increasing
17:06 runningAverage
19:35 fixedGroups
23:57 slidingWindow
27:06 sorted
30:59 increasingSequences
36:49 Outro
Tas: #Java
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: