I am a fan of the way you start your course with such simple examples &explanations, & then so smoothly navigate through the complex part with ease for your students
@brandonflorida10926 жыл бұрын
You're much clearer than any other Web software related teacher.
@uchennannamani57952 жыл бұрын
The best explanation of java streams that I have seen so far.................. excellent !!!
@willhan28304 жыл бұрын
Sir, you have an exceptional talent for explaining complex concepts in a very clear way. Thank you for your very good work.
@neilcowleyUK Жыл бұрын
Possibly one of the best explanations I've heard on Streams, well done!
@hyperborean728 жыл бұрын
Thank you so much. You have a great talent of making frightening things simple
@christianitis4 жыл бұрын
RETVRN
@padkote_rahul1234 Жыл бұрын
this channel always blow my mind by the explaining things in the breaking the ice manner. streams is the concept where i always struct to learn but this video made me take a look man.
@shuchami7 жыл бұрын
This is a very good course. Any chance on a separate course on streams?
@ke30_3 жыл бұрын
I just have to comment: this course is EXCELLENT, thank you
@nischaljadhav83952 жыл бұрын
Though this course is 6 years old still its content is fresh and helpful. Who else is here to watch this video in 2023 : )
@chandreshpratap8 ай бұрын
2024
@AbhishekKumar-uo6we2 ай бұрын
@@chandreshpratap 2024
@resnik208 жыл бұрын
Awesome analogy for the streams concept!
@tirthjayswal98953 жыл бұрын
Finally I can say I have understood the basics of Streams.
@indra40112 жыл бұрын
The difference in mode you deliver your content stays there for lifelong ,would love some content on analysing concurrency issues, profiling...
@kathiruby7 жыл бұрын
This series of tutorial is excellent. Hats off !!!
@solomonaryeetey73707 жыл бұрын
This guy must win an award!!!!!
@jayan007videos5 жыл бұрын
Beautiful analogy. Love your style of teaching. Keep it up...
@memorablename51877 жыл бұрын
streams have completely changed how i write java they are simply awesome
@lubasiteddy6 жыл бұрын
You did justice to the topic at hand, streams make sense now
@diegogiardini3 жыл бұрын
It helped me a lot getting into streams! Thx!
@atanumondal80787 жыл бұрын
You are a great teacher . You are the reason I am still coding . Please make one course for streams as well . It will be very helpful for lazy guys like me whom you spoon feed all the time with your knowledge.
@mitalivarshney51686 жыл бұрын
Your perfect analogy made concept of streams clear in my mind. Thanks a lot!
@rakeshmehra63217 жыл бұрын
Thank you, I was banging my head to understand these concepts. Only you explained it in right manner.
@alessandrobruni568 Жыл бұрын
Grazie.
@Java.Brains Жыл бұрын
Thanks so much!
@perschistence26514 жыл бұрын
Unfortunately the link in the video description is not working.
@fc68275 жыл бұрын
You taught me something I was afraid to learn. Keep rocking
@sssauka4 жыл бұрын
amazing explanation of streams !
@sakuragi11113 жыл бұрын
Thank you so much! Excellent explanation!
@sanjeevs21276 жыл бұрын
This is simply brilliant. Great job!
@mikeCavalle3 жыл бұрын
excellent example and presentation.
@SanjuChougule6 жыл бұрын
Amazing skills you have... Explained in a lucid manner...
@rezoanhasib83945 жыл бұрын
Omg this is so useful and easy to understand. I guess Kaushik is just being Kaushik out here lol. Plz do an advanced Stream and Lambda playlist for all us plz plz :D
@sharidass14088 жыл бұрын
production line example makes a lot of sense!
@kaushikighosh4 жыл бұрын
Great course. Has improved my understanding of Java 8 a lot. Can you also do a tutorial on java 8 default and static method in interface?
@rajas45564 жыл бұрын
Well explained. Thank you
@nitantjoshi86144 жыл бұрын
Very helpful. Thank You.
@aakashKumbhare4 жыл бұрын
hats off!!!! conveyer belt example
@syedshahasad95518 жыл бұрын
Great! You made it quite simple :)
@mahesh410006 жыл бұрын
In Streams, will the second element start processing simultaneously while the first element is down the lane? or else the second element will only be started after the first element is done processing???
@keerthichandrac25075 жыл бұрын
You made my day! Convert the complex things to easy to understand. Could you do more videos on Streams concept please? Waiting eagerly. :)
@ajitganiger66997 жыл бұрын
Very powerful,,, thanks for nice explanation
@RajeshPatel-of3qo7 жыл бұрын
I tried testing the performance and the streams degrades performance a lot. The test I ran was with half million Integer of ArrayList and tried the forEach loop on stream (list.stream.filter.foreach), traditional for loop and for-in loop and stream was slowest. I assume multiple operations on the stream creates new iterator which slows it down? Any explanation? I will really like to know.
@Isheel5 жыл бұрын
Try foreachinparellel
@anandraghuvanshi21164 жыл бұрын
Very easily you have explained the concepts. Really liked it. Do you have have full java 8 tutorial in depth ?
@bhargavjoshi96 жыл бұрын
Please make a separate course for streams. It would be very helpful as this course
@celecha7 жыл бұрын
Thank you! Loved the analogy!
@manojmajumdar38156 жыл бұрын
The filter and foreach operations can be done using a for-in loop and an if condition, so why use streams for that?
@monsterhuntergo2 жыл бұрын
Hi Kaushik, hope you'll have separate course for Streams including in-depth.. 🙏 thanks so much
@dictatorts7 жыл бұрын
But we can do all operations on all elements in one loop. Streams can do this more effectively or just make code more clear and easy?
@aaroldaaroldson7087 жыл бұрын
yes. I don't get it too. Did you understand the reason?Please reply
@sreedevikoppula14596 жыл бұрын
As per my understanding, if you are including all operations in one loop, all these operations will be handled only by one core and that too sequentially. But, by using streams, in the example given in the video, one core handles the filtering of a person based on the last name and soon after the filtering is done, the result is forwarded to the next core that handles the printing of the first name, where meanwhile, the first core is acting on the second element in the stream for condition check, etc. This enables the parallel processing on the list, where we can expect some performance improvement.
@hyperborean724 жыл бұрын
It's powerful but it looks like just another form to organize the same 'assembly line' processing identical to for(if()). So what is the advantage in your opinion? Filter() mislooks like more economical but in realty it processes the collection the same way - from the beginning to the end
@kapiljain75964 жыл бұрын
Your videos are really good. It is helping me to grow technically. Just a suggestion can you please increase the font size while coding.
@zzzz265263 жыл бұрын
Great video. So essentially this is like LINQ in .NET?
@sanketb71285 жыл бұрын
Is it possible to add multiple filter conditions in stream which are 'independent' of each other? Imagine a traditional for loop on a list that has 2/3 if conditions that are not related to each other (without else)?
@pragun19934 жыл бұрын
@Java Brains : So, according to your assembly line analogy, the filter operation would be applied to first element and then based on outcome would be sent to next operation which is forEach, and so on for the rest of all the elements. I hope it's not waiting for filter operation to be applied to all of the elements before sending them to forEach, then streams would be no different than collections. Is there a way we can check that what you explained is how streams work in the background?
@jvsnyc4 жыл бұрын
:azy evaluation is pretty awesome, you can see this stuff in this excellent video:kzbin.info/www/bejne/Z4DTcpqQq76LgrM
@girishsudarshan18794 жыл бұрын
Wish I could give more than 1 like for this video.
@hyperborean724 жыл бұрын
Starting Java8 List has forEach() method itself. So what's the point of having List.stream().forEach() instead just List.forEach()? - the additional set of the methods available in Stream API?
@anupamkumartejaswi92105 жыл бұрын
Understanding streams was never this much simple
@akshaygupta19906 жыл бұрын
hi Sir .. great fan of yours .. i am eagerly waiting for some more streams and collections sessions from you .. thanks in advance..
@SonnyLando5 жыл бұрын
how can you filter out numbers between two numbers? For example, there is an array: new int[] {3, 1, 6, 7, 15, 9,10} I don't ant to .sum() the numbers between and including 6 and 9. So it would .sum() 3,1, and 10. Thanks for your help in advance...
@vJDiZZ6 жыл бұрын
What IDE is this?
@danielgarcia41513 жыл бұрын
But isn't this like a "for" loop with an "if" inside and several operations applied there to the element of the collection? I can't see any difference in concept, only in the way to write it...
@shefaligadia70944 жыл бұрын
Please provide an advanced course on lambda, collections and streams
@brave1111117 жыл бұрын
Awesome. Thank you
@TheGuroguro128 жыл бұрын
Thank you very much.
@maverick_entertainment217 жыл бұрын
Thanks for the wonderful tutorial. Coming from a Javascript background, I find streams quite easy to understand. But what is happening inside ? The analogy is perfect, but I am asking what is going on at the data-structure level. Is there a scope for parallel execution as well ?
@umabapat88266 жыл бұрын
What if I want to execute if (filter) and else part with stream? like if lastname doesnt start with C, do something else?
@SamuelHauptmannvanDam6 жыл бұрын
What exactly does the package do?
@anpowersoftpowersoft5 жыл бұрын
Just Excelolent. Kindly upload some courses on java 8 like Streams.
@shravandurvasula59048 жыл бұрын
Indeed very powerful. Its a sin to not use them wherever there is a chance.
@vinodnarapuram60545 жыл бұрын
Hi Koushik, Your videos and explanations are very good. Is it possible to make a playlist in detail on Stream API? Appreciate your response in advance. Thanks!
@muditbajpai12185 жыл бұрын
Very informative course. For more thorough knowledge on Stream API, could you please let me know another source, probably a video tutorial which explains in deep. There are many in the market, but seeing all of them and then deciding would take a lot of time. Help would be appreciated.
@aaroldaaroldson7087 жыл бұрын
What's the advantage of the stream pattern over this code? : for(Person p : people){ if(!p.getLastName().startsWith("C")){ continue; } System.out.println(p.getFirstName()); } I've checked both approaches and the code above executes in ~1332330 nanoTime. And your code executes in ~61750418. So it's about 60 million nanoTimes more than the old fashioned code. Any reply is appreciated
@jvsnyc4 жыл бұрын
For one thing, it is easily parallelizable "for free". Of course nothing is for free, but if you are in a rush and willing to throw CPU's/cores at your foreach....
@syedhuzaifa21063 жыл бұрын
awesome
@einnorw5 жыл бұрын
how are you able to use the getName(); method with out it being declared
@tanozepp5 жыл бұрын
I have the same question. My guess is that there is one or more videos in this series where he has declared those functions.
@BrajeshKumar-np1br5 жыл бұрын
He imported Person class (from another package) which has getFirstName() method.
@mrudulaization6 жыл бұрын
Please make a separate course on java8 collections and streams
@travelshortsbykamini5 жыл бұрын
Why don't you publish all your courses on UDEMY?
@patel6444 жыл бұрын
please do make videos on advance lambda and streams...Please
@bhanuchirutha7 жыл бұрын
great analogy
@hengcui67864 жыл бұрын
List people = Arrays.asList( new Person("Charles", "Dickens", 60), new Person("Lewis", "Carrol", 42), new Person("Thomas", "Carlyle", 51), new Person("Charlotte", "Bronte", 45), new Person("Matthew", "Arnold", 39) );
@perschistence26514 жыл бұрын
?
@chiranjeevibabakondapalli23937 жыл бұрын
Waiting for more sessions on Java8 Streams
@vigneshdeven31774 жыл бұрын
please , please make advance course video on lambda and collections
@neerajsuthar39316 жыл бұрын
A piece of cake :) :) :) That I just ate.....
@sivashankar18505 жыл бұрын
make a vedios on collections and streams
@huseyinaydin998 жыл бұрын
way gardaşıım lamdayı da senden öğrendim. (:
@Bobxchen3336 жыл бұрын
Stream is immutable.
@disekjoumoer7 жыл бұрын
That analogy was poor. There was little relevance to various people all working on the same object. Threads would have been more useful here.
@tomorrowhastowait7 жыл бұрын
@Rajmanov5 жыл бұрын
Your voice is really annoying, but it's well explained.