Java Streams API Explained (with examples)

preview_player
Показать описание
In this video you're going to learn about Java Streams API, a very important tool that makes data processing more elegant and less verbose.
Let me know your thoughts in the comments section below!

Chapters:
00:00 - Intro
01:01 - Filtering elements
03:22 - The map function
04:51 - The flat map function
06:34 - Other stream functions
07:06 - Streams Lazy Evaluation
09:30 - Partitioning by Collector
12:37 - Grouping by Collector
16:23 - Parallel Streams

Рекомендации по теме
Комментарии
Автор

Really informative, crisp & clear!! Thank you so much! This is what I was looking for....

abhisheksaraf
Автор

straight to the point and easy to understand, thanks man

andersoncabrera
Автор

Good explanation and easy to understand, keep it up!

gothama
Автор

nice explanation. That flatMap not worked for me on jdk-21, car -> List.of(car.make, car.model).stream() worked.
Simplified Stream.of gives error "Cannot infer type argument(s) for <R> flatMap(Function<? super T, ? extends Stream<? extends R>>) Stream cannot be resolved"

samil
Автор

explained very well, can you attach code base or github link as well?

sinurao
Автор

To much speed for people that we are learning... I dont understand the Collectors and what return and how to make your own data structures to return

juligomez