Thanks for making it look so simple. Key take away: If the parameter in the stream returns a Scalar(eg: customer.getEmail() single email id) then use Map. If the parameter returns a Vector(eg: customer.getPhoneNumbers(), customer.getProductsOrdered() which returns a list) then use FlatMap. Stream of Stream for FlatMap is one more key point to note...
This is a great tutorial, and it really helped clarify things for me! One minor issue: I'm pretty sure the term is "Data Flattening" not "Data Flattering" (though to be fair, data is not complemented nearly enough!)
There's already SO many comments like this on this video, but I have to commend your ability to simply and clearly explain the topic. Showing an example that can implement both methods and even using the map on something you wanted to flatMap() to illustrate the need for the flatMap() method--such a good illustration. Sure you said flattering instead of flattening but that is such a miniscule detail. Your comments in your code were fantastic too as it made your verbal explanations even more clear. Much appreciated for this content, you just got a new subscriber!
Amazing video: Few Highlights : 1. Use map function when we can map one-to-one mapping, whereas flatmap is used for one to many mapping. 2. map provides mapping for single input, single value whereas flatmap provides mapping single input multiple values 3. flat map performs data transformation+flattening(flattening is the process of converting multiple lists of lists in stream to a single list by merging the values)
Great job. One note, for those of use that our OCD kicks in easily it will not be easy to watch the code comments being 2 tabs behind the rest of the code (6:32)
hi sir, hats of to you..... Thank you very much. very nice explanation. I read multiple article about map Vs flatMap, I could not understand but after watching your video I am very clear now. I can answer to interviewer very comfortably after watching this video.
Please rename the word "flattering" to "flattening" . "Flattering" means to praise a lot,- lot of thumbs up for this video is flattering. Flattening is to reduce dimensions that flatMap does. Thanks
Always learning new concepts from here. Thank you. I am expecting an example of large project consist of multiple modules and one for authentication and authorisation.
Thanks..expecting more tutorials on java 8 + features. I would really appreciate if you would take a competitive programming challenge and show us how to use java 8 + features to solve it.
great job! the first one clearly explained flatMap() . thanks man! btw, one suggestion, please use a runnable project structure when committing code to github. Your code is not well organized which is mismatching the package name and cannot be run out of the box.
Thanks for making it look so simple. Key take away: If the parameter in the stream returns a Scalar(eg: customer.getEmail() single email id) then use Map. If the parameter returns a Vector(eg: customer.getPhoneNumbers(), customer.getProductsOrdered() which returns a list) then use FlatMap. Stream of Stream for FlatMap is one more key point to note...
I was unable to understand flatMap() until this video. Thank you so much Sir, your videos truly helps.
For anything I want to learn newly in java, I search for your videos! Awesome explanation. You're doing a great job! Thank you so much sir.
Thanks, man, your explanation is short and sweet without wasting time.
This is a great tutorial, and it really helped clarify things for me! One minor issue: I'm pretty sure the term is "Data Flattening" not "Data Flattering" (though to be fair, data is not complemented nearly enough!)
I watched multiple videos on this topic. But you are really very nice in explaining the things deeply with clear and right example. Thanks brother
For the first time i clearly understood flatmap(). Thanks a lot.
All doubts got cleared for differences between map and flatMap operations of stream API. Thanks
There's already SO many comments like this on this video, but I have to commend your ability to simply and clearly explain the topic. Showing an example that can implement both methods and even using the map on something you wanted to flatMap() to illustrate the need for the flatMap() method--such a good illustration.
Sure you said flattering instead of flattening but that is such a miniscule detail. Your comments in your code were fantastic too as it made your verbal explanations even more clear.
Much appreciated for this content, you just got a new subscriber!
Thanks buddy for the sweet word 👌
Amazing video: Few Highlights :
1. Use map function when we can map one-to-one mapping, whereas flatmap is used for one to many mapping.
2. map provides mapping for single input, single value whereas flatmap provides mapping single input multiple values
3. flat map performs data transformation+flattening(flattening is the process of converting multiple lists of lists in stream to a single list by merging the values)
No, it follow many-to-one mapping. It converts many collections one single stream
I have seen lots of videos but didn't understand but after see your video I understand very well thanks bro and God bless you 🙏
One of the best youtube channel I have come across. Love your explanations.
How come I missed so useful channel.
Provided knowledge with simple example.
Great job. One note, for those of use that our OCD kicks in easily it will not be easy to watch the code comments being 2 tabs behind the rest of the code (6:32)
everywhere people have complex definition. this one not only explained well but with a good example too.
SIMPLY and PPRECISLY explained!! Big Love for your Time, Effort and Diligences!!
What a clear and practical explanation, thank u sir!
bhai best tutorial i have ever seen...love you.
straight forward stunning explanation got concept easily.
You do it very well! Great explainations!! After this, all I understood is that decreasing object levels with flatmap to one level, gives a map!
Sir ur explanation is very simple and understanding every time.. Please keep doing it 🙏👏👏
This si the real TeachingTalent Instructor
Bayya ...Extraordinary Explanation. I don't have words...
Thanks Krish 😊
The code example is quite comprehensive and useful.
Great thanks!
Every weekend I like to watch ur new videos keep posting
hi sir, hats of to you..... Thank you very much. very nice explanation. I read multiple article about map Vs flatMap, I could not understand but after watching your video I am very clear now. I can answer to interviewer very comfortably after watching this video.
Awesome thanks Atul
Simple & Precise..
keep it up
Crystal clear explanation. Thanks for such a nice content.
Thanks buddy 😊
Please rename the word "flattering" to "flattening" . "Flattering" means to praise a lot,- lot of thumbs up for this video is flattering. Flattening is to reduce dimensions that flatMap does. Thanks
Yes buddy typo
Thank you , Its was really crystal clear explanation .
Excellent explanation in a very systematic way with good clear example.. Thank you
So concise and too the point.... Thanks a lot
Thanks for the video. One to One and One to Many explanation was really really great.
What an explanation sir .. hats off
Thank you java tech guru, helping lot to understand the key concepts
Jai hind
Good. I read so many times flatMap is map+flattering, but didnt really understand what flattering is. Thanks
Very clearly explained, this is what I was looking for. Thanks 👍
Great video. Hope to see all other Java8 related videos soon. 🙃😊
Thanks sir...this topic is very helpful for interview purpose
You have got a new subscriber. That's all I can say. Great learning for me. 😊👍
Thank you so much. Best way to explain properly. Jai hind Ji
Way of explanation is very good
Thanks a lot!
15 minutes and I got it very clear.
GREAT EXPLAINATION ....Thanks SIR
Very good information, thank you very much
Thank you for your nice explanation
Nice and short explanation to the point
Thanks u told in very simpler way easily understood 😀
Superb 👌 explanation ✌️
Awesome+Simple explanation!! Thanks a ton ❤️
Very clear explanation 🔥👌🏻
Always learning new concepts from here. Thank you. I am expecting an example of large project consist of multiple modules and one for authentication and authorisation.
Thanks Ranjan , Please checkout my microservice playlist
very good explanation. I understood at one time
Nice Bro! This is the clearest explanation ever :)
Thanks buddy 😊
You are my favorite techie bro!
Awesome explanation sir, Great❤
Very well explained thanks 👍👍
Great, simple and easy explaining the stream👍🏾
Thanks a lot for your efforts and putting this video.
Very good explanation 😊
good one basant, wishing you more success with the channel
Thanks..expecting more tutorials on java 8 + features. I would really appreciate if you would take a competitive programming challenge and show us how to use java 8 + features to solve it.
Sure we will do .
It would be really interesting to leverage Java 8 to solve cp questions.
Thank you, sir - really good that you provide code for reference ...
Really awesome 👍 please create more videos on java 8. Such real time experience.
very nicely explained . Great work !!
Excellent, finally understood. Thanks a TON.
Well explained!! Very nice video!!!!!
Thank you brother. You made it easy to understand.
Thanks buddy
Thanks for the nice explanation.
Thanks for the wonderful Explanation! Clear shot
Thank you sir. Very informative.
Simple and clear explanation thank you
Am exciting all the 1.8 features in a single video plz this will help us a lot
Hi buddy it's already there please follow this video
ua-cam.com/video/ePJrt5-G8eM/v-deo.html
Excellent explanation 🔥🔥
Thank you Sir. Nicely explained.
Helpful, thanks for the video.
Great tutorial bro...👌👌👍👍
Keep posting new tutorial ...😀😀😀😀
Thanks for making it look so simple.
Thanks Java Techie 🙏🙏
great job! the first one clearly explained flatMap() . thanks man!
btw, one suggestion, please use a runnable project structure when committing code to github. Your code is not well organized which is mismatching the package name and cannot be run out of the box.
Thanks KIM , yes you are correct I should runnable project structure .
Very nice explanation
Great video bro! Really helpful
Awesome video sir ji
Well explained. Thank u so much
beautiful explanation. thankyou.
Thanks .. it's Awesome . but i hava one note : reduce the number of adds , only in this vedio it contains 3 or 4 adds .
again thanks for your effort
Great content, pal!!!
Superb tutorial
Thanks for your wonderful explanation!!
Fan of Java techie
Excellent explanation bro.....
Thank you sir, You are Awsommmmmmmmm....
Very clear explanation
A clear explanation
Talk less , code more .. I really appreciate your efforts. Great learning from your videos. Nice explanation.
Thanks for clearing the point
Nice Explanation.
Good concept.
Nice explanation
thanks basant
short and crisp!