Java 8 groupingBy | groupingBy In Streams |Java Shastra

Поділитися
Вставка
  • Опубліковано 9 січ 2025

КОМЕНТАРІ • 56

  • @rohitkundu530
    @rohitkundu530 2 роки тому +6

    I was searching for this tutorial all over the internet, but there comes you then with so simplicity.

    • @JavaShastra
      @JavaShastra  2 роки тому

      Thank you for your encouraging feedback, will motivate me todo more such stuffs . 😊

  • @ashutoshpathak1387
    @ashutoshpathak1387 2 роки тому +8

    Basically, he wanted to Group Rashmi and himself together :P . Smooth af bro.

  • @karthiknov86
    @karthiknov86 2 роки тому +2

    Hello Sir, It's One of the Best Explained concepts on Grouping by.Thank you

  • @ashokyadav-zv6ex
    @ashokyadav-zv6ex Рік тому +2

    Very good video brother. Because of you I cleared an interview in a very good MNC company. My well wishes with you. Thanks.

    • @JavaShastra
      @JavaShastra  Рік тому +1

      Congratulations 🎉 for your success . it’s good to hear from you .

  • @ashishdhuppe5944
    @ashishdhuppe5944 Рік тому +2

    Thanks Brother❤ finally i understood grouping by method.

  • @Rakesh-xp3yo
    @Rakesh-xp3yo Рік тому +2

    Your explanation style is truly good. Thanks for this video.

    • @JavaShastra
      @JavaShastra  Рік тому

      Thank you for your encouraging words .😊

  • @PremkumarKushwahaSingh
    @PremkumarKushwahaSingh Рік тому +2

    The video is indeed helpful. Please upload more

  • @TheStefannel
    @TheStefannel Рік тому +2

    It takes more time to figure out the grouping, method, etc than to actually declare a map of type, iterate over the list and add them to map.

  • @sundarraj3220
    @sundarraj3220 Рік тому +2

    Really, best explanation for learners

    • @JavaShastra
      @JavaShastra  Рік тому

      Thank you. Appreciate your comment. Please do subscribe .

  • @ramaraogangadhari7583
    @ramaraogangadhari7583 Рік тому +2

    It is very useful and explained as very very simple great work bro👏

  • @mallikarjun-shurpali9698
    @mallikarjun-shurpali9698 Рік тому +2

    Clear explanation Bro...Thanks ..

  • @DurgaShiva7574
    @DurgaShiva7574 11 місяців тому +2

    Best video on this topic till date, big thanks to you, request you to please make video on internals of spring-boot as well, like @EnableAutoConfiguration, or why do we need a main method in a spring-boot-app, please if you can, will be very helpful for beginners

    • @JavaShastra
      @JavaShastra  11 місяців тому +1

      Sure , thank you for your feedback 😊

  • @ChaitanyaReddy-wz2fd
    @ChaitanyaReddy-wz2fd 7 місяців тому +1

    excellent tutorial on groupingBy

    • @JavaShastra
      @JavaShastra  7 місяців тому

      Thank you for encouraging words .

  • @Engsanjay
    @Engsanjay 10 місяців тому +2

    Nice explanation.

  • @neha6000
    @neha6000 2 роки тому +2

    Very very nicely explain

  • @pothinenivenkat
    @pothinenivenkat 9 місяців тому +1

    Clever explanation

  • @usha3904
    @usha3904 5 місяців тому +1

    It's really helpful

  • @Garun-c5p
    @Garun-c5p 3 місяці тому

    It’s great video bro.

  • @noturbusiness9
    @noturbusiness9 Рік тому

    Good explanation, keep it up 👍

  • @cesarruiz8222
    @cesarruiz8222 Рік тому +2

    Great !! regards

  • @nsjdeveloper1123
    @nsjdeveloper1123 Рік тому +2

    Excellent bro i am searching for this code

  • @asutoshnahak979
    @asutoshnahak979 Рік тому +2

    nice explanation dude...
    can you plz do a example for flattening concept for below collection
    Map map=new HashMap();
    to do different operations on Employee object

  • @sproutboot
    @sproutboot Рік тому +1

    What does he mean by reduction operation? Like toSet and toMap? Change the defualt list return type by groupingBy method?

  • @sabari.delphi
    @sabari.delphi Місяць тому

    Very Good.. :)

  • @alitc300
    @alitc300 Рік тому +2

    Very good

  • @brandojeanpiercalderonpuen3850
    @brandojeanpiercalderonpuen3850 11 місяців тому +2

    Good video, it would be better if you Improve your English pronnunciation bro, just a constructive critic. Happy Coding!!

  • @neelimaparamsetty7325
    @neelimaparamsetty7325 5 місяців тому +1

    Can you explain how we can group by who has 80 in marks?

  • @sproutboot
    @sproutboot Рік тому +1

    Whats marks?? Int array? Like scores?

  • @rashmidutta3114
    @rashmidutta3114 3 роки тому +1

    Very nicely explained

    • @JavaShastra
      @JavaShastra  3 роки тому

      Thank you 😊

    • @ashutoshpathak1387
      @ashutoshpathak1387 2 роки тому

      Oh, so you are the 25 year old Rashmi, that he has grouped himself together with. :clap:

  • @vickyanand5898
    @vickyanand5898 2 роки тому +2

    Nice explanation. Can you also share tutorial on different Map implementations ?

    • @JavaShastra
      @JavaShastra  2 роки тому +1

      Hashmap, linkedhasmap, treemap you are talking about ??

    • @vickyanand5898
      @vickyanand5898 2 роки тому

      @@JavaShastra yes and there are many more .

  • @rahanarahman7451
    @rahanarahman7451 2 роки тому +2

    Thanks

  • @knowledgeshare1622
    @knowledgeshare1622 2 роки тому +2

    how to find sum of the salary is greater 5000 of each department????

    • @Tikeswarib
      @Tikeswarib 2 роки тому +2

      deptList.stream()
      .collect(groupingBy(Department::getDeptName, summingInt(Department::getSalary)));
      I thing this is what you are looking for. Thanks!

    • @kshitijbansal3672
      @kshitijbansal3672 2 роки тому

      @@Tikeswarib How to find frequency of each word having frequency >1

  • @akshaynalamwar2257
    @akshaynalamwar2257 3 роки тому +2

    Nice 👍…what happens if i do groupby using name and name has a null value??

    • @JavaShastra
      @JavaShastra  3 роки тому +1

      I will try and let u know 😊

    • @JavaShastra
      @JavaShastra  3 роки тому

      we can not have null as key in the result , so will get the exception as : Exception in thread "main" java.lang.NullPointerException: element cannot be mapped to a null key

  • @rajneeshraikwar8352
    @rajneeshraikwar8352 Рік тому +1

    👍👍👍

  • @sajankumar-kh1vb
    @sajankumar-kh1vb 9 місяців тому

    Git hub repo link....can you provide

  • @Atul_Shegokar
    @Atul_Shegokar Рік тому +2