Java Streams Tutorial | 2020

Поделиться
HTML-код
  • Опубликовано: 29 янв 2025

Комментарии • 311

  • @ibrahimgunduz34
    @ibrahimgunduz34 4 года назад +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 4 года назад +33

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

  • @pablodamiannovoarenteria4225
    @pablodamiannovoarenteria4225 3 месяца назад

    This video complements what I was reading about streams, now is time to practice. Congratulations on this, you made so simple the example that you can save hours of reading for some people.

  • @michaelandcarmenmaguire1108
    @michaelandcarmenmaguire1108 5 месяцев назад

    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.

  • @bademo48
    @bademo48 4 года назад +13

    I watch this so many times, thank you Nelson.

    • @ЮрийАндрейцев-й1з
      @ЮрийАндрейцев-й1з 4 года назад

      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!

    • @bademo48
      @bademo48 4 года назад

      @@ЮрийАндрейцев-й1з No I just keep forgetting it 🙃

  • @mingyungkim3680
    @mingyungkim3680 2 года назад

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

  • @florianseidel8574
    @florianseidel8574 4 года назад +27

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

  • @jakovkusic4219
    @jakovkusic4219 3 года назад

    Definitely the best video about streams on RUclips.

  • @trenvert123
    @trenvert123 6 месяцев назад

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

  • @josephthecreator
    @josephthecreator 2 года назад +1

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

  • @martinguerra2142
    @martinguerra2142 3 года назад +1

    Thank you Nelson, always helping the community!

  • @damahelouni2720
    @damahelouni2720 3 года назад +3

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

  • @eddiemarxmallmaalvarez1134
    @eddiemarxmallmaalvarez1134 3 года назад

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

  • @damdl96
    @damdl96 5 лет назад +10

    Easy to understand and great explanation, thank you!

  • @suwatchainanchai6637
    @suwatchainanchai6637 3 года назад

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

  • @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!

  • @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 2 года назад

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

  • @CheeseStickzZ
    @CheeseStickzZ 2 года назад +5

    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.

  • @barryalpha4484
    @barryalpha4484 4 года назад

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

  • @Hianfita
    @Hianfita Год назад

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

  • @vpenywise
    @vpenywise 3 года назад +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!

  • @cod3rhandl3it
    @cod3rhandl3it 2 года назад +1

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

  • @608raju
    @608raju 4 года назад

    the way you explained is clear. good luck

  • @AlinaKay47
    @AlinaKay47 3 года назад +19

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

  • @mkli3459
    @mkli3459 10 месяцев назад

    This is very very wonderful! Thanks a lot! 👏

  • @tshepo2japhta28
    @tshepo2japhta28 5 лет назад +1

    Man you inspire me ...keep them coming

  • @mirakhmadov
    @mirakhmadov 2 года назад +1

    Thank you
    You are good at teaching

  • @yeso3716
    @yeso3716 4 года назад +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 4 года назад +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

  • @Netalon
    @Netalon 4 года назад

    Thank you Bro ! Finally i learned streams in Java

  • @FP_95
    @FP_95 Год назад

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

  • @angecarmelyoro6321
    @angecarmelyoro6321 3 года назад

    What a masterclass. Thank you Nelson

  • @TheN0odles
    @TheN0odles 3 года назад

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

  • @abrehamish
    @abrehamish 4 года назад +3

    Thank you Nelson for excellent expalnation.

  • @sumanthmuttuvalli4931
    @sumanthmuttuvalli4931 3 года назад

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

  • @teofilomassinga7528
    @teofilomassinga7528 3 года назад

    Thanks, Nelson
    you are a wonderful teacher.

  • @prakhar.odyssey
    @prakhar.odyssey 3 года назад

    Thank you for this amazing explanation brother! 😄🙌🏾

  • @abhijeetprabhu4117
    @abhijeetprabhu4117 4 года назад

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

  • @fredericochopin
    @fredericochopin 3 года назад +1

    Nelson, this is great stuff! Thank you.

  • @kostiantynkarzhanov9216
    @kostiantynkarzhanov9216 11 месяцев назад

    Thank you! Very very helpful! 💛

  • @moodydog9960
    @moodydog9960 3 года назад +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.

  • @fabiovictorino350
    @fabiovictorino350 Год назад

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

  • @juanignaciorios4513
    @juanignaciorios4513 4 года назад +1

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

  • @gurushashank7863
    @gurushashank7863 2 года назад

    Thank you, Helped me a lot 😃

  • @anantpillai4656
    @anantpillai4656 5 лет назад +3

    Seriously well explained!!

  • @carlozuk
    @carlozuk 3 года назад

    Amazing video, can't wait to take the course

  • @peasantfolkhero
    @peasantfolkhero Год назад

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

  • @MrZbieg1422
    @MrZbieg1422 2 года назад

    Thanks dude. You just saved me some time :D

  • @rabbyhossain9537
    @rabbyhossain9537 2 года назад

    Best website for learn coding

  • @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!

  • @simranpreetkaur7840
    @simranpreetkaur7840 Год назад

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

  • @kihunkim7498
    @kihunkim7498 4 года назад

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

  • @hasangunes9464
    @hasangunes9464 4 года назад +2

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

  • @coelho8276
    @coelho8276 3 года назад

    best video for java streams

  • @dmytrog6127
    @dmytrog6127 4 года назад

    Thank you! Very clear, very understandable, very comprehendly

  • @lifeTechnicolorGuy
    @lifeTechnicolorGuy 5 лет назад +1

    Great tutorial ! I will do the course for sure.

  • @Hughsie28
    @Hughsie28 2 года назад

    Does anyone know if it was a sly video cut or a shortcut used at 2:34 (if it is a shortcut does anyone know what the command is called?)
    It looks like when trying to type "person" with "pe" it autofilled "people" instead and then "cycled"/"tabbed" to the next variable name.

  • @vitorgsevero
    @vitorgsevero 3 года назад

    Great explanation! Thank you so much!

  • @mailtoharutyunyan
    @mailtoharutyunyan 2 года назад

    Hi @amigoscode, Can you tell me how I can trim strings in the list which are in Ticket class for example, and sort them in ASC order?

  • @Jody-nf2bz
    @Jody-nf2bz 2 года назад

    Excellent class. Thank you!

  • @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.

  • @juzerkhambati5068
    @juzerkhambati5068 4 года назад

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

  • @andresencolombia
    @andresencolombia 2 года назад

    Great job Amigo.

  • @ninobach7456
    @ninobach7456 Год назад

    in classical java fashion, complexity gets added left and right

  • @IvanPallaresTrivino
    @IvanPallaresTrivino Год назад

    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!

  • @eduardohenriquedeassis9729
    @eduardohenriquedeassis9729 6 месяцев назад

    Amazing video Bro!

  • @hamza-the-big-data-lad
    @hamza-the-big-data-lad 4 года назад +1

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

  • @saravinfotech
    @saravinfotech 4 года назад

    Can you explain how the values are printed within say sorted.foreach?

  • @dannygavrieli4940
    @dannygavrieli4940 2 года назад

    What is the shortcut for extracting a variable?
    Thank you.

  • @foleyjack
    @foleyjack 4 года назад +1

    Very well explained, good tutorial, thank you

  • @russellskalden8064
    @russellskalden8064 4 года назад

    Like your lessons, keep going 👍

  • @DEVKA777
    @DEVKA777 4 года назад

    thank you for your work! so cool and understandably

  • @PhanTanThangTH
    @PhanTanThangTH Год назад

    Thank you so much bro, keep it up :)

  • @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 ?!

  • @BluePhoenixGames1
    @BluePhoenixGames1 6 лет назад +4

    Well explained, thanks!

  • @Apbhat556
    @Apbhat556 Год назад

    What is the shortcut key to extract api into variable? Like the one he did at 15:23

  • @BrilliantMindsZw
    @BrilliantMindsZw Год назад

    quite clear and understandable

  • @jopadjr
    @jopadjr 3 года назад

    Thanks mate for the tutorial...

  • @aobaidi5626
    @aobaidi5626 3 года назад

    The best, brother

  • @abulka
    @abulka Год назад

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

  • @ahmedzidane6203
    @ahmedzidane6203 3 года назад

    thank you for your work my bro.

  • @tvrecorder4791
    @tvrecorder4791 4 года назад

    Keep up the good work mate

  • @ainbrisk545
    @ainbrisk545 Год назад

    thank you! very insightful

  • @senss3000
    @senss3000 3 года назад

    awesome bro thnks ! we want more

  • @EmanAl-Murish
    @EmanAl-Murish 2 года назад

    Woow, thank u so much for this Amazing video

  • @cxrealzim8762
    @cxrealzim8762 3 года назад

    Great content mate.

  • @michapusio9523
    @michapusio9523 5 лет назад +3

    Good work, keep going that! :D

  • @matrixresistance
    @matrixresistance 14 дней назад

    Great video but something got me really confused. We sorted by Age and then by Gender. I don't get the point of the double sort since it remains the same with before where we just sorted by Age. I mean a list can only be sorted one way normally right ?

  • @Alberto_Cavalcante
    @Alberto_Cavalcante 2 года назад

    Grande Nelson!

  • @houariboumediane3536
    @houariboumediane3536 10 месяцев назад

    That was good man...thanks.

  • @aveshkadri
    @aveshkadri 3 года назад

    thanks amigo, very well explained

  • @swsessaji
    @swsessaji 4 года назад +1

    Although streams have greatly reduced code lines what are its actual advantages with respect to processing time & speed & space consumption ?

    • @UsernameNULL755
      @UsernameNULL755 4 года назад

      as far as i know, they are much better when working with large amount of data.

    • @JoaoSantos-ke8dq
      @JoaoSantos-ke8dq 3 года назад

      They can be 5x slower.

  • @adamfaisal1750
    @adamfaisal1750 3 года назад

    Many Thanks Dear Nelson

  • @luisdfernandez2601
    @luisdfernandez2601 4 года назад

    Nicely explained. Nice work!

  • @brunocardoso8246
    @brunocardoso8246 4 года назад +2

    Appreciate simple and structured explanation. Thank you !

  • @Metachief_X
    @Metachief_X 4 года назад

    this is amazing, thank you so much!

  • @kristianlynes5908
    @kristianlynes5908 3 года назад

    Is there any reason to use noneMatch if you can just use anyMatch in this example? can you somehow "reverse" anyMatch so that you can use it instead of noneMatch?

  • @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 2 года назад

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

  • @shivammittal9847
    @shivammittal9847 3 года назад

    Hello, I have a List of an object which contains couple of string fields. Now I want to iterate this list of the object and ensure that a particular string field in this object is not equals to particular string I pass in. How can I achieve this using streams?
    Thank You

  • @streamcoders3552
    @streamcoders3552 2 года назад

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