Streams API Tutorial in Java 8+

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 พ.ย. 2024

ความคิดเห็น • 150

  • @ChrisLaCount
    @ChrisLaCount 2 ปีที่แล้ว +10

    Wow man, this was absolutely fantastic! I’ve been using streams for a while, and this was extremely helpful. I always had some confusion between map/flatmap, and why you’d use one vs the other. You helped clear that confusion right up!
    This tutorial was so easy to follow and simple to grasp. Keep up the great work!

  • @pritamghosh4158
    @pritamghosh4158 2 ปีที่แล้ว

    FIRST TIME SOME ONE I UNDERSTOOD PROPERLY IN UNDERSTANDING STREAMS

  • @JayPrakash-yq8sg
    @JayPrakash-yq8sg 2 ปีที่แล้ว +3

    You are underrated brother. Your contents are amazing, I just switched from support project to dev with 250% hike. All thanks to your videos. Please keep up the good work. ❤️🙌🏻

    • @DailyCodeBuffer
      @DailyCodeBuffer  2 ปีที่แล้ว +1

      Awesome 👏
      Congratulations 🎉
      Thanks 🙏🏻 you just made my day

    • @miteshjain415
      @miteshjain415 2 ปีที่แล้ว

      which company gave you such a big hike bro? I am looking to switch as well

  • @radiyziyat7747
    @radiyziyat7747 ปีที่แล้ว

    I always admire the way you teach lessons.

  • @abhinetrakumar
    @abhinetrakumar 2 ปีที่แล้ว +2

    one is the best videos on steam API ❤.. thank you so much bro for this amazing video

  • @ankitbisht9839
    @ankitbisht9839 2 ปีที่แล้ว

    It was really helpful. My interviewer asked me the salary sum question and I was not able to answer that, but since then I was looking for a correct answer. Now I have got the answer . Thank yo so much

  • @Mykhailo_Moroz
    @Mykhailo_Moroz 2 หลายเดือนก่อน

    That was huge. thanks you, all clear and undestandable

  • @shwetabhat9981
    @shwetabhat9981 2 ปีที่แล้ว +4

    Really awesome as always sir . Thank you . Requesting you to kindly make a video on how to implement spring security in a Microservice based application if possible . Thank you again 🙂

  • @KaraokeClubChicago
    @KaraokeClubChicago 2 ปีที่แล้ว

    Excellent Way to explaining and very objectively covered topic. So peoples are learning coding and feel confident!!. Thank you

  • @arifashaik7950
    @arifashaik7950 หลายเดือนก่อน

    I understand clearly this Stream API topic. thank you

  • @berihunhadis3960
    @berihunhadis3960 2 ปีที่แล้ว

    Bro I really understand functional programming today i.e. stream by ur example, thank you for ur tutorial

    • @DailyCodeBuffer
      @DailyCodeBuffer  2 ปีที่แล้ว +1

      Glad to hear that it was helpful 🙏🏻
      Thanks 🙏🏻

  • @pragmaticcoder6910
    @pragmaticcoder6910 2 ปีที่แล้ว +1

    Omg! I am waiting for this concept. Thank you so much. Please also start a series on Spark and Scala. Eager to learn !

  • @devolajide
    @devolajide 2 ปีที่แล้ว +1

    The best. Thank you. Can you also do a complete microservice course where you pick a project and we build it with microservice architecture?

  • @tejassontakke8382
    @tejassontakke8382 2 ปีที่แล้ว

    Please keep posting. Always a useful content..!! Thanks for posting.

  • @chyaila
    @chyaila 2 ปีที่แล้ว +1

    Great tutorial.
    Please create a tutorial on lambdas, bifunction, biconsumer, bipredicate etc

  • @syedmubeen3817
    @syedmubeen3817 ปีที่แล้ว

    It's simple clear and very helpful thanks man😊

  • @shasha6538
    @shasha6538 2 ปีที่แล้ว

    Few things I found missing. One is that theoritical aspect of each feature that you have implemented. Like what is stream, what are advantages, stream vs paralle stream, what is optional. Implementation is awesome. It covered everything related to stream.

    • @DailyCodeBuffer
      @DailyCodeBuffer  2 ปีที่แล้ว +1

      In this video I focused on its usage rather than theory
      I will try to cover theoretical aspects as well 👍

  • @utkarshshukla4505
    @utkarshshukla4505 2 ปีที่แล้ว +1

    Perfect video bhai , please make some more videos on concepts of java 8+ like this

  • @mursalin3698
    @mursalin3698 2 ปีที่แล้ว

    really good explanation about Streams. Thanks a lot :D

  • @ashutoshsinghyadav5412
    @ashutoshsinghyadav5412 2 ปีที่แล้ว +4

    Great work man.
    Can you make a video on collections framework.

  • @TechOnScreen
    @TechOnScreen 2 ปีที่แล้ว

    amazing, also make video on all the tools at our disposal while using streams, including scenario-based usages and best practices.

  • @annapureddyravi4054
    @annapureddyravi4054 2 ปีที่แล้ว +1

    Bro ..your videos amazing..can we have full stream api method overview ..examples

  • @PremKumar-mt7ff
    @PremKumar-mt7ff 2 ปีที่แล้ว

    when i heard streams assumed it gonna be tough,
    then when i implement it, i realize i have been doing this in javascript all this time already.
    relief.

  • @RamKumar-qr3qq
    @RamKumar-qr3qq 2 ปีที่แล้ว

    Thank u very much bro. I am waiting for this topic .

  • @manivasuppalamarthi6948
    @manivasuppalamarthi6948 ปีที่แล้ว

    Very useful and very informative

  • @policepoki
    @policepoki 2 ปีที่แล้ว

    My favourite TH-camr

  • @ankursingh2213
    @ankursingh2213 2 ปีที่แล้ว

    Great explanation of all the concepts as always brother 👍👍
    Keep doing the good work 🙏

  • @michelchaghoury9629
    @michelchaghoury9629 2 ปีที่แล้ว +4

    @Daily Code Buffer please we need CI/CD pipelines and Github Actions For Spring Boot (medium to Large Projects) pleaseee and keep going

    • @DailyCodeBuffer
      @DailyCodeBuffer  2 ปีที่แล้ว

      th-cam.com/video/snZtITKxUBM/w-d-xo.html
      You can check this video for CI/CD pipeline with GitHub Actions

  • @nchavva
    @nchavva 2 ปีที่แล้ว

    superb video learning alot.. please make a video how to function way of programming in java 8+.

  • @sureshgply
    @sureshgply 2 ปีที่แล้ว

    Very good explanation bro. One small request if you have time please explain java memory management and performance.

  • @gopalakrishnanp8308
    @gopalakrishnanp8308 4 หลายเดือนก่อน

    Thank you so much..very good explanation

  • @nandagopal375
    @nandagopal375 ปีที่แล้ว

    Thanku you for providing valuable information sir 🙏🙏🙏🙏

  • @lenigaussgauss2428
    @lenigaussgauss2428 2 ปีที่แล้ว

    Thank you Bro. Always at the top level

  • @RahulRaj-wf9tb
    @RahulRaj-wf9tb 11 หลายเดือนก่อน

    Can you please tell me which theme are you using in intellij? It's awesome bro

  • @sobrevivendo-no-front
    @sobrevivendo-no-front 11 หลายเดือนก่อน

    Great tutorial!
    Thank you 🙏🏻

  • @shubhamjumde9076
    @shubhamjumde9076 10 หลายเดือนก่อน

    Hello Sir,
    Greetings !
    This is a really helpful video to understand Java 8 new features.
    From Java 8 , we can have concrete methods in an interface also. An Abstract class could also have concrete methods and abstract methods.
    I am stuck at a point where it has become really difficult to understand and choose between abstract class and interface. Could you please share some use cases or scenarios when to use interface and when to use abstract class. Any examples would be really helpful.
    Thanks!

  • @satyanarayanareddyb3052
    @satyanarayanareddyb3052 2 ปีที่แล้ว +1

    Hi Shabbir, great content . I recently came over this interview coding question where the interviewer asked to solve using Java8 and i ended up not doing it. Can you please make a video on this and this kind of interview question.
    Q) Given a integer array/List need to increment the odd number by 2 leaving even number .
    Input: [1,2,3,4,5,6,7,8,9,10] output: [3, 2, 5, 4, 7, 6, 9, 8, 11, 10] using java8
    If it is not possible to make video on this small topic if you think. Please paste the answer here.
    Thanks in advance

    • @DailyCodeBuffer
      @DailyCodeBuffer  2 ปีที่แล้ว +1

      Surely I will do

    • @sankalpdas8675
      @sankalpdas8675 2 ปีที่แล้ว

      public class interviewQues {
      public static void main(String[] args) {
      List abc = Arrays.asList(1,2,3,4,5,6,7,8,9,10);
      List iq = abc.stream()
      .map(n -> {if(n%2==1)
      return n+2 ;
      else return n ;})
      .collect(Collectors.toList());
      System.out.println(iq);
      }
      }

    • @dipanshubaraskar3836
      @dipanshubaraskar3836 ปีที่แล้ว

      List collect = list.stream().map(x -> x % 2 == 0 ? x : x + 2).collect(Collectors.toList());

  • @LavikshaSoni
    @LavikshaSoni 2 ปีที่แล้ว

    Really well explained.

  • @franciscogilt
    @franciscogilt 2 ปีที่แล้ว

    Excellent tutorial.

  • @prajwalshakya6564
    @prajwalshakya6564 2 ปีที่แล้ว

    Bro your videos are super helpful. plz do a video on spark web framework as well.. cant find it anywhere on TH-cam.

  • @sharadpratap
    @sharadpratap 2 ปีที่แล้ว

    Really good one.

  • @suryas2845
    @suryas2845 2 ปีที่แล้ว

    Thanks u bro u r a killer of code crusher 🥳🥳🥳

  • @DeepakGupta-pz4fx
    @DeepakGupta-pz4fx 2 ปีที่แล้ว

    Thank you Shabbir ...amazing video
    One video post collection framework

  • @arthiarulkumar8289
    @arthiarulkumar8289 2 ปีที่แล้ว

    Please continue this series

    • @DailyCodeBuffer
      @DailyCodeBuffer  2 ปีที่แล้ว +1

      Yes, Planning to do so
      Thanks 🙏🏻

  • @ajeetverma7342
    @ajeetverma7342 2 ปีที่แล้ว

    incredible video. thanks a ton

  • @satishsubhashish
    @satishsubhashish 2 ปีที่แล้ว

    fantastic....Pretty good content.

  • @puneethraghavendra2585
    @puneethraghavendra2585 2 ปีที่แล้ว

    Very nice explanation 👍

  • @rushabhshah392
    @rushabhshah392 2 ปีที่แล้ว

    Really good one 👍

  • @mursalin3698
    @mursalin3698 2 ปีที่แล้ว

    in 18:13 you could use employees.stream().filter().flatmap instead of employees.stream().map().flatmap right?

  • @rexsam3134
    @rexsam3134 2 ปีที่แล้ว

    Can you take an advanced topic on Stream API?

  • @thirue8237
    @thirue8237 ปีที่แล้ว

    This is useful. thanks.

  • @srinivasdarapaneni.l1196
    @srinivasdarapaneni.l1196 2 ปีที่แล้ว

    Are you providing any online training on spring boot and microservices

  • @thanosv3368
    @thanosv3368 2 ปีที่แล้ว

    Perfect video !

  • @nikhileshyoutube4924
    @nikhileshyoutube4924 2 ปีที่แล้ว

    Excellent 🚀🚀🚀🚀

  • @sunnykosle8865
    @sunnykosle8865 2 ปีที่แล้ว

    Which theme you are using bro is a nice theme, very informative video keep it up 👍

    • @DailyCodeBuffer
      @DailyCodeBuffer  2 ปีที่แล้ว

      Thanks 🙏🏻
      It is Xcode Dark theme with Atom icon pack

  • @code_yoda1928
    @code_yoda1928 2 ปีที่แล้ว

    bhai..thank you so much for the content
    Can you also please make videos on micronaut framework

  • @feelfree7162
    @feelfree7162 2 ปีที่แล้ว

    can u upload cassandra with spring boot tutorIal and spark with java also, it will be really helpful for us

  • @keerthanap7726
    @keerthanap7726 2 ปีที่แล้ว

    Thank you for amazing videos!

    • @DailyCodeBuffer
      @DailyCodeBuffer  2 ปีที่แล้ว +1

      🙏🏻🙏🏻

    • @keerthanap7726
      @keerthanap7726 2 ปีที่แล้ว

      Advanced java concepts please.could you please do a video on it.. please

    • @DailyCodeBuffer
      @DailyCodeBuffer  2 ปีที่แล้ว

      What concept are you looking for?

  • @rathandivate6706
    @rathandivate6706 ปีที่แล้ว

    which plugin is using to display the return types at end of codes?

  • @ViralAiStories-d7q
    @ViralAiStories-d7q ปีที่แล้ว

    Thank you sir 🙏

  • @hamednikbakht9708
    @hamednikbakht9708 2 ปีที่แล้ว

    I have a large list that is paged blind.
    Pagination is done in the Core of the project,
    Now how can I get the sum of a column of entity in the overall result without pagination?

  • @oshabzsam9773
    @oshabzsam9773 2 ปีที่แล้ว

    Nice video. Can you do a video on spring cloud

  • @ravisheikh6706
    @ravisheikh6706 2 ปีที่แล้ว

    which theme you are using its awsome please tell me?

  • @madhuraghasangeetha9385
    @madhuraghasangeetha9385 11 หลายเดือนก่อน

    I saw you few days ago . 😊

  • @dheebanm3207
    @dheebanm3207 2 ปีที่แล้ว

    9:40 why you are create new Employee object into map?

  • @suryateja8106
    @suryateja8106 9 หลายเดือนก่อน

    Can we perform the same with hashmap which has key same as student model

  • @manojpandey6661
    @manojpandey6661 2 ปีที่แล้ว

    Can you please change you editors theme from dark to bright .

  • @zaabimahdi
    @zaabimahdi 2 ปีที่แล้ว

    Hey Thank you for this Bro!
    What theme are you using for Intellij ?

    • @DailyCodeBuffer
      @DailyCodeBuffer  2 ปีที่แล้ว +3

      Xcode theme

    • @zaabimahdi
      @zaabimahdi 2 ปีที่แล้ว

      @@DailyCodeBuffer Thanks,
      Bro, do you have any idea how to show the function return type Hint on Itellij ?

  • @arunavv3825
    @arunavv3825 2 ปีที่แล้ว

    Hi,
    Can you please give session on snakeyaml to validate yaml files and schema.if file have wrong fields or syntax it should throw error while parsing.

  • @srinivasdarapaneni.l1196
    @srinivasdarapaneni.l1196 2 ปีที่แล้ว

    Any pdfs available for spring boot and microservices

  • @ravikumarkuruba9587
    @ravikumarkuruba9587 2 ปีที่แล้ว

    Bro thanks so much.

  • @hemantapant
    @hemantapant 2 ปีที่แล้ว

    You are amazing

  • @aqilaghamirzayev8189
    @aqilaghamirzayev8189 2 ปีที่แล้ว

    Can you please make otp (login, forget password with mobile number) video?

  • @patrik1389
    @patrik1389 2 ปีที่แล้ว

    thank you :)

  • @tanveersyed1049
    @tanveersyed1049 2 ปีที่แล้ว

    Nice video

  • @rammohan-ui1fz
    @rammohan-ui1fz 2 ปีที่แล้ว

    can you print highest salary in each department wise

  • @sachinmankotia2291
    @sachinmankotia2291 2 ปีที่แล้ว

    Can you please provide link to complete Java 8 playlist?

    • @DailyCodeBuffer
      @DailyCodeBuffer  2 ปีที่แล้ว

      th-cam.com/play/PLhfxuQVMs-nyWxxtah2pedp5zar-vZ0Yn.html

  • @oshogarg5215
    @oshogarg5215 2 ปีที่แล้ว

    how can we use hashmap along with streams?

  • @Codestry
    @Codestry 2 ปีที่แล้ว

    Not able to perform this operation
    employees.stream().map(e-> e.getProjectCode()).flatMap(strings-> strings::stream)
    its throwing error 18:30 , misplaced construct. I think you are passing some lambda function.

  • @karthiksundaram544
    @karthiksundaram544 2 ปีที่แล้ว

    Does stream pass a return value

  • @adedamolaadegoke1339
    @adedamolaadegoke1339 2 ปีที่แล้ว

    thank you

  • @kenseifeitan4663
    @kenseifeitan4663 2 ปีที่แล้ว

    also the icom theme what name is it

  • @kenseifeitan4663
    @kenseifeitan4663 2 ปีที่แล้ว

    hello man what is your theme i like it

    • @DailyCodeBuffer
      @DailyCodeBuffer  2 ปีที่แล้ว

      Xacode theme

    • @kenseifeitan4663
      @kenseifeitan4663 2 ปีที่แล้ว

      thanks man iwant to know your plugins for this very good api I like the icons
      please reply🥺

    • @DailyCodeBuffer
      @DailyCodeBuffer  2 ปีที่แล้ว

      I added the list of all plugins i use in the community post
      You can check that

  • @dawnpeace9122
    @dawnpeace9122 2 ปีที่แล้ว

    reflection next

  • @oshogarg5215
    @oshogarg5215 2 ปีที่แล้ว

    nice tshirt

  • @entertainmentsongs4527
    @entertainmentsongs4527 2 ปีที่แล้ว

    2nd comment ###

  • @praveens2272
    @praveens2272 2 ปีที่แล้ว

    First comment

  • @nguyenhavu7542
    @nguyenhavu7542 2 ปีที่แล้ว

    hiiii

  • @manivasuppalamarthi6948
    @manivasuppalamarthi6948 ปีที่แล้ว

    Very useful and very informative

  • @ilearn1264
    @ilearn1264 4 หลายเดือนก่อน

    Thank you