Java Streams Tutorial | 2020
Vložit
- čas přidán 27. 07. 2024
- Java Streams allows you work with Collections/Lists like never before. In the good old days we use to define every single step (code) what we wanted to accomplish, we used to write a lot of code for something very small (The Imperative approach).
What Java Streams makes it easy to work with Collections and it gives you as a developer an API where you can ask what you want instead of defining the full implementation for the thing you want. (Declarative Programming)
If you not using Java Streams 😱 then you should take a moment and watch this video to learn more about it.
Here are some resources
Code: github.com/amigoscode/java-st...
Free Course: bit.ly/2WxbPjI
PS:
Subscribe to my channel: / amigoscode
Follow on Instagram: / amigoscode
Happy coding 👊🏾
thank you for your work, Nelson. really appreciate it.
This is the best explanation I've ever heard. You have teaching talent man. Thank you.
Thanks Nelson.
Just learning Java for my job and I work with Collections/Lists a lot so this is super helpful.
✌
I just met your youtube channel while searching for something regarding spring security but after that, I watched some of your other videos as well. They are definitely awesome. Thanks for your work.
Thank you Nelson, always helping the community!
I was looking for a good video explaining/showing some methods in #stream(), and this was just awesome. 10/10 good job!
Articulate, informative, and succinct - WELL DONE and THANK YOU!
Extremely helpful. Stream APIs are so powerful, thank you for breaking this down!
Thank you so much for your tutorial. It help me reduce a lot of code line from doing imperative approach.
Wow, thank you very much. You explain so well and easy to understand. Greetings from Germany 👍🏼
This is the best explanation that i have ever had. thank you a lot guy for this beautifull job.
Definitely the best video about streams on CZcams.
Easy to understand and great explanation, thank you!
You are welcome :)
I watch this so many times, thank you Nelson.
so many times? sounds like Nelson awfully explained streams and you have to watch again and again to understand =) i'm joking. Nelson, great job!
@@user-fz1nh3mt1c No I just keep forgetting it 🙃
Hi, You really explain so well. Really appreciate it. Thank you
Explained very simply and cleared doubts. Thank you so much Amigoscode :)
What a masterclass. Thank you Nelson
Followed you from your FCC video on Spring. Thank you for such an informative session! Subbed
Thank you for this amazing explanation brother! 😄🙌🏾
I’m really happy to watch this video. I understood ‘streams’ perfectly that made me annoying. thank u
Thanks Nelson, I'm appreciate this vids, because when I finished my formation course just learn the base.
Nelson, this is great stuff! Thank you.
Thank you Nelson for excellent expalnation.
Amazing video, can't wait to take the course
Appreciate simple and structured explanation. Thank you !
Thank You, Nelson. Your videos are very helpful to me.
Thanks, Nelson
you are a wonderful teacher.
thank you for your work! so cool and understandably
Great content, well structure and quality content. Keep posting :)
This was very infomative! I followed along with my own custom made class and I learned a ton! Thanks a million!
very useful video and simply explained. Thank you so much bro!!
Thank you! Very clear, very understandable, very comprehendly
Thanks
this is amazing, thank you so much!
Eres un crack!! Thanks and greetings from Argentina🇦🇷
Great explanation! Thank you so much!
Thank you Bro ! Finally i learned streams in Java
Great tutorial ! I will do the course for sure.
Thanks buddy
Excellent video, stream really are insane! Your explanation was mighty understandable. Valeu amigo
I'm glad your tutorials improved over the years. At least for the Spring Boot tutorial. Because this was rough.
Thanks man! Your content is AWESOME! Cheers! :)
Hey bro, grettings from Johannesburg. Good work, man!
Seriously well explained!!
Thank you
Like your lessons, keep going 👍
Man you inspire me ...keep them coming
I will
Excellent class. Thank you!
thanks, this is a very good tutorial!
Great tutorial. Thank you !
Thank you! Very very helpful! 💛
This is very very wonderful! Thanks a lot! 👏
Very well explained, good tutorial, thank you
You welcome
Thank you, Helped me a lot 😃
Keep up the good work mate
You have my thanks, you are doing this very well.
I'm Latinoamerican and could say that Great video man, it's awesome!!
Well explained, thanks!
Thanks buddy
It's was amazing. I love so much yours videos.
Good work, keep going that! :D
Thanks Michal
thank you for your work my bro.
thanks amigo, very well explained
Hello Neloson thanks for your interesting and well explained concepts. please would like to know how to come out with printing only one property of the person after sorting.
Great content mate.
Thanks dude. You just saved me some time :D
the way you explained is clear. good luck
Thank you
Thank you so much bro, keep it up :)
Thank you
You are good at teaching
It's 2020 and I still write code like this. FeelsBadMan
thank you! very insightful
Thanks mate for the tutorial...
Very well explained. Great job
Thank you 😊
Nicely explained. Nice work!
Thanks
Great explanation. Thanks much.
Thanks Darrel
Thanks for the tutorial, it is concise and well structured. What about the performance of this method compared to the imperative approach?
Its tuned for performance too
Very good video! It is really helpfull
quite clear and understandable
Hi Nelson, thanks for this. Can you please explain how to get images into your comments? Like // Imperative approach ❌ and // Declarative approach ✅ ? My IDE does not show them right like the Github Webpage does. But in your video your IntelliJ did ?!
Great job Amigo.
how would you change min/max if you are working with a generic type? in this case you don't have access to something like the getAge method
Woow, thank u so much for this Amazing video
That was good man...thanks.
best video for java streams
Please, make a video on Map vs FlatMap. Thank you!
4:19 - doesn't appear to be free anymore, but then again, I'm a few years late watching the video :D Thanks for the content nonetheless! I will also check your website and courses for sure!
I think with the getAge and getGender in the sort expression, you need to flip getAge and getGender, i.e, do sort by gender first, then by age.
I had to switch my language level in IntelliJ to Java 9. I have Java 13 installed as of 2019. Is List.of method going bye bye?
Great video!
The best, brother
This is good content. Thanks
Thank you, Sir!
Thank you for this amazing video on Streams in Java. I would like to know your learning approach to new concepts. How do you learn about all these concepts? What's the secret recipe?
Buy a book and study.. There is no magic recipe for building concepts.. Free Videos have limitations
thank you so much for the brilliant tutorial. may i ask....., are you typing the shortcuts yourself or it is IntelliJ IDEA doing this. I am writing them down by the way for ease of reference. thank you for the effort you put into these tutorials.
Nice explanation. But there's nothing wrong with using if ( multiple conditions ) it's actually faster in most cases
using if statements to make decisions are fine if its a truly binary decision, like if a function is passed a Boolean you can use an if statement because that Boolean value can only ever be one of the other. The functionality is predictable and expandable. However if you are using if statements to make decisions that are more complex all of a sudden you have code that is much less maintainable and prone to errors with any future modifications to the code or requirements of said code. Defining decisions through dynamic dispatch is the proper way of making decisions nowadays even if it is slower because it allows the code to be robust across time.
awesome bro thnks ! we want more
Really helpful thanks
Many Thanks Dear Nelson
Nice content! Thank you!
Thanks
excellent! thanks a lot.
Nice explained,
by the way thank you.
Thanks Suraj
Can you do anything with spring boot along project?
I see this all over the place in Java world but, why not splitting those chains in methods with proper names to improve readability? I think that would make Martin Fowler happy 😄
Thanks for the great explanation!
Thanks, man!
Awesome. Thanks