Java 8 forEach Method Tutorial | Iterate over List, Set, Stream and Map Examples

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

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

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

    Is there any difference between forEach applied on collection directly vs first converting to stream and then applying forEach?

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

    Thank you bro so much

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

    I'd like to know how he changes all the list.add statements to set.add all in one go at 7:53 .
    It's a handy shortcut and I can't figure out how to do it.

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

      answer also at 7:53 check yellow color box - > refactor

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

    How u rename the list to set by renaming only single list

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

    Danke bro

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

    thank you