Java Streams Tutorial | 2020

Поділитися
Вставка
  • Опубліковано 5 вер 2024

КОМЕНТАРІ • 306

  • @ibrahimgunduz34
    @ibrahimgunduz34 3 роки тому +60

    I just met your youtube channel while searching for something regarding spring security but after that, I watched some of your other videos as well. They are definitely awesome. Thanks for your work.

  • @desarrollojava
    @desarrollojava 3 роки тому +33

    This is the best explanation I've ever heard. You have teaching talent man. Thank you.

  • @michaelandcarmenmaguire1108
    @michaelandcarmenmaguire1108 26 днів тому

    Your style of instruction is truly refreshing. Thank you very much for putting this together. It's fun seeing someone do something that comes naturally to them -- something they're passionate about. That's the vibe I get while watching this and learning from you. I'm definitely going to check out your courses.

  • @trenvert123
    @trenvert123 Місяць тому

    I'm glad your tutorials improved over the years. At least for the Spring Boot tutorial. Because this was rough.

  • @hasangunes9464
    @hasangunes9464 4 роки тому +2

    It's 2020 and I still write code like this. FeelsBadMan

  • @mertyertugrul
    @mertyertugrul 4 роки тому +13

    I watch this so many times, thank you Nelson.

    • @user-fz1nh3mt1c
      @user-fz1nh3mt1c 3 роки тому

      so many times? sounds like Nelson awfully explained streams and you have to watch again and again to understand =) i'm joking. Nelson, great job!

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

      @@user-fz1nh3mt1c No I just keep forgetting it 🙃

  • @florianseidel8574
    @florianseidel8574 4 роки тому +27

    thank you for your work, Nelson. really appreciate it.

  • @CheeseStickzZ
    @CheeseStickzZ Рік тому +4

    Nice explanation. But there's nothing wrong with using if ( multiple conditions ) it's actually faster in most cases

    • @Alex-to5vx
      @Alex-to5vx Рік тому

      using if statements to make decisions are fine if its a truly binary decision, like if a function is passed a Boolean you can use an if statement because that Boolean value can only ever be one of the other. The functionality is predictable and expandable. However if you are using if statements to make decisions that are more complex all of a sudden you have code that is much less maintainable and prone to errors with any future modifications to the code or requirements of said code. Defining decisions through dynamic dispatch is the proper way of making decisions nowadays even if it is slower because it allows the code to be robust across time.

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

    I’m really happy to watch this video. I understood ‘streams’ perfectly that made me annoying. thank u

  • @damahelouni2720
    @damahelouni2720 3 роки тому +3

    Wow, thank you very much. You explain so well and easy to understand. Greetings from Germany 👍🏼

  • @damdl96
    @damdl96 5 років тому +10

    Easy to understand and great explanation, thank you!

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

    4:19 - doesn't appear to be free anymore, but then again, I'm a few years late watching the video :D Thanks for the content nonetheless! I will also check your website and courses for sure!

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

    Definitely the best video about streams on UA-cam.

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

    Extremely helpful. Stream APIs are so powerful, thank you for breaking this down!

  • @AlinaKay47
    @AlinaKay47 3 роки тому +19

    Besides this being a great tutorial, for the first time ever my non-american name is used in an example :')

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

    Thanks Nelson.
    Just learning Java for my job and I work with Collections/Lists a lot so this is super helpful.

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

    I'm Latinoamerican and could say that Great video man, it's awesome!!

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

    Thank you Nelson, always helping the community!

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

    Thank you so much for your tutorial. It help me reduce a lot of code line from doing imperative approach.

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

    Thank you
    You are good at teaching

  • @moodydog9960
    @moodydog9960 2 роки тому +16

    I think with the getAge and getGender in the sort expression, you need to flip getAge and getGender, i.e, do sort by gender first, then by age.

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

    Best website for learn coding

  • @peytonpeck
    @peytonpeck 4 роки тому +8

    I was looking for a good video explaining/showing some methods in #stream(), and this was just awesome. 10/10 good job!

  • @abrehamish
    @abrehamish 3 роки тому +3

    Thank you Nelson for excellent expalnation.

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

    Articulate, informative, and succinct - WELL DONE and THANK YOU!

  • @RustySilver-w1q
    @RustySilver-w1q 2 роки тому

    Thanks Nelson, I'm appreciate this vids, because when I finished my formation course just learn the base.

  • @ankit-jangid
    @ankit-jangid Рік тому

    Explained very simply and cleared doubts. Thank you so much Amigoscode :)

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

    This is the best explanation that i have ever had. thank you a lot guy for this beautifull job.

  • @mkli3459
    @mkli3459 5 місяців тому

    This is very very wonderful! Thanks a lot! 👏

  • @ninobach7456
    @ninobach7456 11 місяців тому

    in classical java fashion, complexity gets added left and right

  • @608raju
    @608raju 4 роки тому

    the way you explained is clear. good luck

  • @Hianfita
    @Hianfita 9 місяців тому

    Excellent video, stream really are insane! Your explanation was mighty understandable. Valeu amigo

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

    You can do exactly this kind of thing in JavaScript and Python etc so simply, without the excessive syntax that Java needs.

  • @fabiovictorino350
    @fabiovictorino350 10 місяців тому

    It's was amazing. I love so much yours videos.

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

    Thanks, Nelson
    you are a wonderful teacher.

  • @user-jj9sx6hh7h
    @user-jj9sx6hh7h Рік тому

    I see this all over the place in Java world but, why not splitting those chains in methods with proper names to improve readability? I think that would make Martin Fowler happy 😄
    Thanks for the great explanation!

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

    Thank you Bro ! Finally i learned streams in Java

  • @kostiantynkarzhanov9216
    @kostiantynkarzhanov9216 6 місяців тому

    Thank you! Very very helpful! 💛

  • @tshepo2japhta28
    @tshepo2japhta28 4 роки тому +1

    Man you inspire me ...keep them coming

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

    Thank You, Nelson. Your videos are very helpful to me.

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

    Thank you, Helped me a lot 😃

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

    thank you so much for the brilliant tutorial. may i ask....., are you typing the shortcuts yourself or it is IntelliJ IDEA doing this. I am writing them down by the way for ease of reference. thank you for the effort you put into these tutorials.

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

    Nelson, this is great stuff! Thank you.

  • @yeso3716
    @yeso3716 3 роки тому +4

    I was wondering why the output of sorted didn't change after you added thenComparing(Person::getGender()) to the method at 9:00 ?

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

      for thenComparing it should do changes if we have two persons or more with same ages so females will appear first

    • @worldwide6626
      @worldwide6626 3 роки тому +3

      @@ImAmericanGangsta yeah it was a bad example. He should have sorted by name instead

  • @study-channel6301
    @study-channel6301 3 роки тому +1

    Please, make a video on Map vs FlatMap. Thank you!

  • @K.E.N.J.I.B.A.B.Y
    @K.E.N.J.I.B.A.B.Y 2 роки тому +1

    This was very infomative! I followed along with my own custom made class and I learned a ton! Thanks a million!

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

    Thanks mate for the tutorial...

  • @dmytrog6127
    @dmytrog6127 4 роки тому

    Thank you! Very clear, very understandable, very comprehendly

  • @juanignaciorios4513
    @juanignaciorios4513 4 роки тому +1

    Eres un crack!! Thanks and greetings from Argentina🇦🇷

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

    What a masterclass. Thank you Nelson

  • @kihunkim7498
    @kihunkim7498 4 роки тому

    very useful video and simply explained. Thank you so much bro!!

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

    Hey bro, grettings from Johannesburg. Good work, man!

  • @prakhar.odyssey
    @prakhar.odyssey 3 роки тому

    Thank you for this amazing explanation brother! 😄🙌🏾

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

    Thanks dude. You just saved me some time :D

  • @abhijeetprabhu4117
    @abhijeetprabhu4117 4 роки тому

    Followed you from your FCC video on Spring. Thank you for such an informative session! Subbed

  • @peasantfolkhero
    @peasantfolkhero 11 місяців тому

    You have my thanks, you are doing this very well.

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

    Many Thanks Dear Nelson

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

    Thanks man! Your content is AWESOME! Cheers! :)

  • @foleyjack
    @foleyjack 4 роки тому +1

    Very well explained, good tutorial, thank you

  • @anantpillai4656
    @anantpillai4656 5 років тому +3

    Seriously well explained!!

  • @lifeTechnicolorGuy
    @lifeTechnicolorGuy 5 років тому +1

    Great tutorial ! I will do the course for sure.

  • @brunocardoso8246
    @brunocardoso8246 4 роки тому +2

    Appreciate simple and structured explanation. Thank you !

  • @Jody-nf2bz
    @Jody-nf2bz Рік тому

    Excellent class. Thank you!

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

    thank you! very insightful

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

    You dont explain, do a show!
    thanks for the class!

  • @juzerkhambati5068
    @juzerkhambati5068 4 роки тому

    Hi, You really explain so well. Really appreciate it. Thank you

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

    Great explanation! Thank you so much!

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

    Amazing video, can't wait to take the course

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

    awesome bro thnks ! we want more

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

    Zelda is blessed! XD

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

    quite clear and understandable

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

    Thank you so much bro, keep it up :)

  • @EmanAl-Murish
    @EmanAl-Murish Рік тому

    Woow, thank u so much for this Amazing video

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

    Thank you for this amazing video on Streams in Java. I would like to know your learning approach to new concepts. How do you learn about all these concepts? What's the secret recipe?

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

      Buy a book and study.. There is no magic recipe for building concepts.. Free Videos have limitations

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

    It'd be great to include explanation WHY not only how. Imperative > Declarative does not say anything to anybody. It is hardly shorter codewise then forE way. Point of streams is that the operations can be done in parallel with drawback that setting up stream takes some time. Therefore setting up stream for huge list is worth it because of parallel nature of operation, while this couple item long list you are probably just wasting time on typing I believe?

  • @DaRolla2016
    @DaRolla2016 4 роки тому +3

    Hi Nelson, thanks for this. Can you please explain how to get images into your comments? Like // Imperative approach ❌ and // Declarative approach ✅ ? My IDE does not show them right like the Github Webpage does. But in your video your IntelliJ did ?!

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

    Great content, well structure and quality content. Keep posting :)

  • @eduardohenriquedeassis9729
    @eduardohenriquedeassis9729 Місяць тому

    Amazing video Bro!

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

    OMGGG DUDE>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> AWESOME

  • @houariboumediane3536
    @houariboumediane3536 5 місяців тому

    That was good man...thanks.

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

    best video for java streams

  • @DEVKA777
    @DEVKA777 4 роки тому

    thank you for your work! so cool and understandably

  • @andreas-fefe
    @andreas-fefe 2 роки тому

    Hello Neloson thanks for your interesting and well explained concepts. please would like to know how to come out with printing only one property of the person after sorting.

  • @BluePhoenixGames1
    @BluePhoenixGames1 5 років тому +4

    Well explained, thanks!

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

    lol my senior his a Guru when coming to declarative , now am forced to become one like him

  • @leyluj
    @leyluj 5 років тому +1

    Nelson is mkbhd for java .... Keep it JAVA man ...

    • @amigoscode
      @amigoscode  5 років тому

      hahaaha appreciate your comment. thanks

    • @leyluj
      @leyluj 5 років тому

      @@amigoscode can you do anything with spring batch?

    • @amigoscode
      @amigoscode  5 років тому

      I was thinking of Spring Schedulers. But i guess i could touch on that too

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

    nice explained, but you must agree, that "thenComparing()" only makes sense, if the first comperator produces any doublettes, dont you?

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

    thanks amigo, very well explained

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

    This is good content. Thanks

  • @dasunanushka8774
    @dasunanushka8774 4 роки тому

    Excellent tutorial. I would suggest making a complete playlist on java 8 features. Thanks anyway.

    • @amigoscode
      @amigoscode  4 роки тому +3

      Java 8 is old. Maybe latest Java

    • @dasunanushka8774
      @dasunanushka8774 4 роки тому +1

      @@amigoscode sure . I'm waiting for it

    • @amigoscode
      @amigoscode  4 роки тому

      ​@@dasunanushka8774 cool

    • @dasunanushka8774
      @dasunanushka8774 4 роки тому

      @@amigoscode than that I would suggest making tutorials on kubernates, node js , micro service architecture . That would help for every one of us

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

    nice video..very helpful

  • @luisdfernandez2601
    @luisdfernandez2601 4 роки тому

    Nicely explained. Nice work!

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

    Great job Amigo.

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

    The best, brother

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

    Thank you so much,
    Please create video for websocket, webRTC

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

    Wonderful bro.

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

    Informative content

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

    thank you for your work my bro.

  • @sudheerchalla1453
    @sudheerchalla1453 5 років тому

    Very well explained. Great job

  • @user-xt8iy7pz8g
    @user-xt8iy7pz8g 7 місяців тому

    cool materials thx