Thank you so much Joe, my lecturer can't explain this simple feature in 2 hours, you did it in 20mins. seriously You should teach in our uni.
@normdeplume63154 жыл бұрын
sad but true. Great video
@mafakka22 жыл бұрын
have you dropped from uni already?
@DerSpudi5 жыл бұрын
Awesome! I wasn't comfortable with streams before, but after this video I immediately changed three for loops of my program to streams. Looks so much nicer and is not so tedious to code. Thanks!
@teminoah29603 жыл бұрын
Exactly,same for me too, I also now enjoy using streams
@gerdsfargen66872 жыл бұрын
@@teminoah2960 They just cut down on so much bulk code and make Java more of a joy to work with!
@nabinrai7494 жыл бұрын
this type of tutorial covers more topics and condition than others typing n explaining the course
@atrantech116 ай бұрын
This was infinitely helpful. I love how you gave so many examples. Thus, allowing me to understand and play around with these examples. Best stream tutorial and will come back to it later as refreshers.
@fc68272 жыл бұрын
This makes map very easy to understand. God all this time I thought it had something to do with hashmaps, KV pairs etc...this really helps, ty!
@teminoah29603 жыл бұрын
Joe James is a great teacher and a great mentor,I must affirm . How I wish have known him in my early days of programming.
@diodorsaydofmi35043 жыл бұрын
I'm a simple man I see Arijit's name (12:00), My day is made ☺
@skyFullOfStars3 жыл бұрын
I wonder how Joe knows Arijit Singh! 🤔
@Nothoughtinvolved5 жыл бұрын
Only time I've seen Java 8 streams explained clearly online. Thank you Joe
@karttikmishra42914 жыл бұрын
How did this video get dislikes? What did the audience want from the video? I just loved the clarity of explanation and the ease with which he does that.
@Pontification Жыл бұрын
This is one of the most useful techniques in Java Ive ever seen.
@shankarghimire44923 жыл бұрын
Wow! short but very powerful tutorial! You made Streams operations so easy to learn in Java. Except you, everybody starts their tutorial by saying 'Stream is the most difficult topic to learn and understand in Java'. But, you proved them wrong! Thanks a lot for sharing your knowledge with the world! Expect more tutorials especially on functional programming in Java in the same simple format. Cheers! :) :) :)
@avinpaladugu6 жыл бұрын
Fantastic. Crystal clear and no nonsense class.
@afifkhaja2 жыл бұрын
Fantastic. Although it took my 40 min to write out, run, and understand the code, it was well worth it
@oldapolda35672 жыл бұрын
The Best Explaination i have ever seen about java streams. Thank You So much.
@suseelkumarannamraju3 жыл бұрын
I got a hands-on on streams a bit more than before. Thanks for making this video Joe.
@javadmahdiyoun55523 жыл бұрын
دمت گرم با این آموزش خوبت ، ایولا Thanks for this high quality teaching, keep going
@arthastfp2 жыл бұрын
I'd like to point out something about example 7. You said it's better to first filter the stream, and then apply mappers. But you are first mapping the original dataset to a new lowercased dataset, therefore iterating through all the info, which in cases of massive amounts of data will slow down the application. The optimal solution is to first filter the stream, and then lowercase the remaining items. The same goes for example 8. This is just a nitpick on a great course overall, and I thank you for posting it!
@oggiai2 жыл бұрын
Yes, you are right.
@Somerandomnessvvv3 жыл бұрын
Streams are saving a punch of blocks of code, this is really helpful. Great explanation.
@pslamba2 жыл бұрын
Kudos for making your example data so culturally diverse!
@oggiai2 жыл бұрын
I try to match my diverse viewers.
@8106123815 жыл бұрын
Intensive and clear, great value for each minute watched on this video
@fotoamgamgfoto36953 жыл бұрын
Thanks! I quit using Java after 12 years of Java development around V1.4 a couple of years ago when Generics came into it and I hate Generics. I become a Frontend JS developer, but now need Java again as a fullstack to learn what new things come up and this Stream API looks cool, smilar to ES6 stuff! I might be interested in Java again.
@쉐틀4 жыл бұрын
This is the best video to explain Java collection I've seen in KZbin. Thank you!
@Anubis101104 жыл бұрын
I really want to understand WHY PEOPL dislike it...They most properly envy HIM 1. Perfect English Accent 2. Perfect Explanation 3. Samples 4. Code What else do we need :D Thank you so mcuh
@vladimirljubopytnov51934 жыл бұрын
I guess because of errors? But I agree, its pleasant teaching overall.
@moayadyaghi4 жыл бұрын
Is accent really the first priority?
@JobinJacobKavalam2 жыл бұрын
Great presentation ... plain and simple ... that is what we want, almost always.
@gamerauto2 жыл бұрын
Man this is really beautifully explained, I really love this video, and thanks for including Arijit Singh, love from India 🇮🇳
@rkulk3 жыл бұрын
Excellent work Joe, thank you for explaining this with easy to understand examples.
@rajeshshrivastava39833 жыл бұрын
Amazingly explained java8 stream,lambda use in just 18 min. Which is more awesome 😎
@stevermadter84304 жыл бұрын
5:18 System.out::print is the shortcut lambda expression for x -> System.out.print(x). Its Sytnax sugar, the compiler doesnt notice a diffrence
@shubhampareek23784 жыл бұрын
There's one point to note, you can only use static functions with `ClassName::functionName` format. Instance method have to be called using lambda.
@sumitbabel54153 жыл бұрын
@@shubhampareek2378 No not necessary, we can also call getters as well e.g (ClassName::getterMethod) - this will also call the public getter method, kindly let me know if you need a program also
@ShoeibShargo2 жыл бұрын
Thank you for clarifying. I was confused why would he call print function like that. This lambda expression is making code unnecessarily complex for me.
@grzesieknowosad15686 жыл бұрын
Hey. I would like to emphasize that this tutorial for Java 8 streams is really great. I've been looking through internet for some good explanation. Found many sites or tutorials, but this one is best quality step-by-step. I found everything that I needed from the beginning. Thanks
@AnasMughal3 жыл бұрын
Very concise and focused presentation. I appreciate that.
@chrisbessant33153 жыл бұрын
A great video - small and simple examples that get the message across clearly. Thank you.
@ashethebostonterrier49184 жыл бұрын
Very good explanation including using stream, array, map, collectors and lambda. Thanks. I have learned a lot. Very short implementation, but got lots done. I never would have thought using map, filter like in JS in Java. You can see how long I haven’t touched the Java. I need to prepare for interviews in their future. This helped me. Always nice learning something new.
@Romanov13096 жыл бұрын
I haven't touched Java in a while and now it looks like magic to me. Your explanation though made it understandable, thank so much!
@salmanbaig80883 жыл бұрын
Thank you so much. This is the best explanation I have seen so far with great examples.
@deepap20685 жыл бұрын
Your videos are awesome. Thanks Joe. Also, It would be great if you could group your videos into playlists like Java, Streams, machine learning paths, etc. It’s kind of difficult to get hold of the whole series.
@anjalisajeev3 жыл бұрын
I have watched several videos on this, and this was the best! Helped me understand the concept.
@ensoniq2k5 жыл бұрын
This is such a mind blowing feature, thank you very much for explaining in such detail!
@tarun3kumar3 жыл бұрын
Very informative tutorial. btw 3:05 anyMatch() and findFirst() are terminal operations and do not return Stream.
@SHSelect2 жыл бұрын
awesome, an easy understanding video for me to have a basic knowledge of Steam class
@sehajpreetsingh41773 жыл бұрын
No nonsense explanation. Thank you very much.
@psonney4 жыл бұрын
Thank you. in example 9 , we do need to close the bands2 stream as well.
@chaoticcosal27702 жыл бұрын
Very clear cut programming, Thanks Joe for the collection of questions and solution.
@JERILNADAR4 жыл бұрын
Super tutorial. Made me go from hating Streams to loving it.
@matt-g-recovers3 жыл бұрын
I usually do a like/dislike ratio assessment before committing time to a tutorial. Sheesh lot of folks liked this vs not right? ~100:1 well shoot if that doesn't seem like too much, it is an order of magnitude better than what I consider the gold standard for a good video ( 10:1 like to dislike). Great video :)
@oggiai3 жыл бұрын
Thanks! I hope you added another like. :-) FYI, ratio for my whole channel is around 96-97% likes to 3 or 4 dislikes. This is one of my best videos.
@AkimMoh5 жыл бұрын
THANK YOU I MISSED "x.contains()" NOW I KNOW HOW TO FILTER STRING
@dontknow63563 жыл бұрын
Best tutorial i have ever seen
@saravanant72836 жыл бұрын
One of the best Java 8 content in youtube.
@oggiai6 жыл бұрын
Thanks. :-)
@balyaajiskan21942 жыл бұрын
best one .. i ever watched..well explained... thanks
@samkaxe24882 жыл бұрын
Those are really powerful use In java 🤔 am thinking of going stright deep into streams
@dianadutka57644 жыл бұрын
love how it was simply straight to the point!
@lexplay854 жыл бұрын
Just awesome! Very practical, very simple. I only need to practice. Thanks man!!!!
@richaarora17756 жыл бұрын
Great explanation on Java Streams. Cleared the basic concepts of using Stream API.
@exxzxxe2 жыл бұрын
Very well done, Mr. James.
@oggiai2 жыл бұрын
Thanks
@vikingofengland2 жыл бұрын
Short and concise, good job.
@nimbostratue5 жыл бұрын
Thank you Joe for this excellent tutorial which is probably better than most of the ones out there.
@gsabella4 Жыл бұрын
Fantastic video on Streams, and really appreciate the content on your Java repo.
@oggiai Жыл бұрын
Great to hear!
@69ayax3 жыл бұрын
the best explanation i've seen
@erdoaNNN6 жыл бұрын
Great video, Joe! Thanks for the efforts and continue shooting videos like this please.
@ranachan55554 жыл бұрын
Joe, Great explanation , Covered many but not more like parallel streams and all.
@1991JBK4 жыл бұрын
Just a small correction to an otherwise great video. With filters you don't filter out based on the condition, you filter out elements that don't satisfy the condition and keep the ones that do. Was a little confusing on my first view through.
@shubhankarseth2 жыл бұрын
Thank you Joe, the tutorial is very good.
@uk7826 Жыл бұрын
Huge info in one video..thank you
@yogeshchaudhari99713 жыл бұрын
Amazing explanation... short n simple and direct to the point
@saurabhgupta6073 жыл бұрын
Helpful Video with great examples
@apfelll6 жыл бұрын
Thank you for the very good tutorial. It's well explained and straight forward, exactly what I was looking for!
@masebor3 жыл бұрын
spot on tutorial, thanks for the introduction into streams, have a nice day.
@sibaprasadmohanty83223 жыл бұрын
It's good to know the interview prospective and implement for logics also
@anwardarkazanli71602 жыл бұрын
Very thorough explanation, thanks a lot!
@venkatbollimuntha1785 жыл бұрын
Excellent!! Clear & Concise . Thanks so much.
@007chanakya4 Жыл бұрын
Excellent video, many thanks!
@evgeniynorfolk59092 жыл бұрын
Thanks for good and understandable examples! You are nice teacher!
@SpoonOfSpices4 жыл бұрын
Excellent explanation..Thanks Joe
@arthurezeagbo39864 жыл бұрын
Thank you so much for this content. You made everything simple.
@alexandre905110 ай бұрын
great video! even though it is 5 years old, it is still at very good starting point. Thank you
@jasonzhang11332 жыл бұрын
Thank you so much for such a nice video explaining the stream concept very well.
@cvetkovicslobodan4 жыл бұрын
Good, but at 13:46 with two filter calls you are going through collection twice with no valid reason, a better approach is to group conditions with &&. So, it would be .filter(x -> x.length == 3 && Integer.parseInt(x[1]) > 15). If each condition is declared as a Predicate we could use and() method (e.g. .filter(predicate1.and(predicate2))
@carbonateddippingjam49703 жыл бұрын
THIS IS THE VIDEO I WAS LOOKING FOR. Thank you.
@prasadkailkeresridhar83163 жыл бұрын
Super Awesome..thanks for the effort Joe.
@lokmanboukhoulda44963 жыл бұрын
Wow great explanation, thanks Joe!
@notapplicable_ad4 жыл бұрын
Wonder how you know Arijit Singh☺️ but amazing tutorial. Even paid tutorials do not explore so many cases to explain stream the way you do.
@satwikburman68414 жыл бұрын
Amazing tutorial, that moment when I saw Arijit Singh's name in the band list was bizarre though haha!
@oggiai4 жыл бұрын
LOL
@josephfernando48675 жыл бұрын
This was indeed extremely helpful , thanks for sharing
@giaotran2018 Жыл бұрын
That was really clear. Thanks!
@Ajinkya200619896 жыл бұрын
Great explanation. Really helped understanding the concepts. Thanks for sharing the knowledge!
@prathameshwaghmare58463 жыл бұрын
Thanks a lot for wonderful explanation.
@nippleraisin5 жыл бұрын
Great examples. Thanks
@safionweb3 жыл бұрын
12:03 Arijit Singh 💘💘💘💘💘💘
@J-India243 жыл бұрын
7:55 sarika 😂
@anitawaghmare91135 жыл бұрын
Excellent video!
@mathisinav42674 жыл бұрын
18 minutes well spent, excellent tutorial
@nramca4 жыл бұрын
Very well structured ! Thank you for uploading
@chowdhuryfarsadaurangzeb50804 жыл бұрын
Very well explained. You used great examples.
@DAS-20245 жыл бұрын
can u please add breakpoints in the video description for each example, ur video is super helpful and it will be even more se....Thank you!
@SunilKumar-yd8xv4 жыл бұрын
16:28 : You don't need to declare parameter types. Below would work double total = Stream.of(7.3, 1.5, 6.2, 7.9).reduce(0.0, (a, b) -> a + b);
@ShoeibShargo2 жыл бұрын
Being a novice, this is confusing to me whenever I come across a variable which is not declared in a program. How would this line of code determines what a and b is? Is it a var type by default if we do not declare it explicitly?
@pulkitbanta73744 жыл бұрын
The way you explained every function was just awesome 😃. This small video made me more confident about Java, and thanks to you for making such an awesome video. But I am not clear about that reduce function with two doubles in it. Can you please explain it again? Like how the value is assigned to that double a? Hope, I will get my answer 😃
@stunner15563 жыл бұрын
Joe this is amazing content!!!!!
@josephwong28324 жыл бұрын
great video with great examples
@javacoder605 жыл бұрын
Beautiful work, sir! Very nicely explained!!
@SpicyMemoriesByNeha3 жыл бұрын
Amazing Video Sir... very simple and easily understandable examples