Java Stream API Explained with Examples | Java Streams | Java 8 Lambda Tutorial | Geekific
Вставка
- Опубліковано 19 лип 2024
- Support us on Patreon: / geekific
Discord Community: / discord
GitHub Repository: github.com/geekific-official/
In this video we cover most of the stream operations through examples, demonstrate several approaches to create a stream, and give a glimpse on the evolution of the Stream API across different Java versions.
Timestamps:
00:00 Introduction
00:29 What are Java Streams?
01:44 Creating a Stream
03:46 The "toArray" Operation
04:12 The "count" Operation
04:22 The "min" and "max" Operations
04:52 What are Optionals?
05:32 "orElse" vs "orElseGet"
07:05 The "average" Operation
07:22 The "reduce" Operation
07:48 The "findFirst" and "findAny" Operations
08:27 The "forEach" Operation
08:49 The "anyMatch", "allMatch" and "noneMatch" Operations
10:07 The "collect" Operation
10:41 The "skip" and "limit" Operations
11:35 Creating Infinite Streams
12:17 The "distinct" Operation
12:38 Sorting Elements inside a Stream
13:09 The "filter" Operation
13:27 The "map" Operation
14:15 The "peek" Operation
15:09 The "flatMap" Operation
15:42 Join, Reduce, Group and Map values while Collecting a Stream
18:13 Changes Introduced after Java 8
19:47 Parallelizing our Stream Operations
20:16 Thanks for Watching!
If you found this video helpful, check other Geekific uploads:
- Must Know Java Keywords!: • Must Know Java Keyword...
- Functional Interfaces and Lambda Expressions: • Functional Interfaces ...
- LinkedList Implementation in Java: • Implementing the Linke...
- Stacks Explained and Implemented in Java: • Stacks: Explained and ...
- Queues Explained and Implemented in Java: • Queues Explained and I...
- Object-Oriented Programming Fundamentals: • What is Object-Oriente...
#Geekific #JavaStreams #Lambda #FunctionalInterfaces
jesus fuck christ, one of the best explanation i've found about this on youtube. Thanks for taking you time and doing this man
Your voice is clear, teaching excellent and as an already graduated computer engineering major teaching in the computer science department, I still binge your videos. Thanks for your contribution to computer science education
Wow, thank you for this amazing comment! Glad you think so :)
I have to be honest. you are the best at explaining java concepts. I also have to be honest my English is not that good but you speak very clearly and that helps me so much thank you. I can't thank you enough, god bless you for your work helping java programmers.
God bless you
Wow, thanks a lot for the kind words!
Criminal amount of views. Thank u thank u thank u
Great tutorial
Very clear explain, and very helpful Thanks
You are welcome! Glad you liked it :)
Amazing examples and excellent explanation!❤
Thank you :) Glad it was helpful!
Amazing, can you make a tutorial for Google Guava in the future.
Sure, will add it to my list of upcoming videos! Cheers :)
how come this guy has only 6k followers?
Mistake @ 11:55 - should be // prints "Geekific" 6 times