Java Stream API Explained with Examples | Java Streams | Java 8 Lambda Tutorial | Geekific

Поділитися
Вставка
  • Опубліковано 19 лип 2024
  • Support us on Patreon: / geekific
    Discord Community: / discord
    GitHub Repository: github.com/geekific-official/
    In this video we cover most of the stream operations through examples, demonstrate several approaches to create a stream, and give a glimpse on the evolution of the Stream API across different Java versions.
    Timestamps:
    00:00 Introduction
    00:29 What are Java Streams?
    01:44 Creating a Stream
    03:46 The "toArray" Operation
    04:12 The "count" Operation
    04:22 The "min" and "max" Operations
    04:52 What are Optionals?
    05:32 "orElse" vs "orElseGet"
    07:05 The "average" Operation
    07:22 The "reduce" Operation
    07:48 The "findFirst" and "findAny" Operations
    08:27 The "forEach" Operation
    08:49 The "anyMatch", "allMatch" and "noneMatch" Operations
    10:07 The "collect" Operation
    10:41 The "skip" and "limit" Operations
    11:35 Creating Infinite Streams
    12:17 The "distinct" Operation
    12:38 Sorting Elements inside a Stream
    13:09 The "filter" Operation
    13:27 The "map" Operation
    14:15 The "peek" Operation
    15:09 The "flatMap" Operation
    15:42 Join, Reduce, Group and Map values while Collecting a Stream
    18:13 Changes Introduced after Java 8
    19:47 Parallelizing our Stream Operations
    20:16 Thanks for Watching!
    If you found this video helpful, check other Geekific uploads:
    - Must Know Java Keywords!: • Must Know Java Keyword...
    - Functional Interfaces and Lambda Expressions: • Functional Interfaces ...
    - LinkedList Implementation in Java: • Implementing the Linke...
    - Stacks Explained and Implemented in Java: • Stacks: Explained and ...
    - Queues Explained and Implemented in Java: • Queues Explained and I...
    - Object-Oriented Programming Fundamentals: • What is Object-Oriente...
    #Geekific #JavaStreams #Lambda #FunctionalInterfaces

КОМЕНТАРІ • 15

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

    jesus fuck christ, one of the best explanation i've found about this on youtube. Thanks for taking you time and doing this man

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

    Your voice is clear, teaching excellent and as an already graduated computer engineering major teaching in the computer science department, I still binge your videos. Thanks for your contribution to computer science education

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

      Wow, thank you for this amazing comment! Glad you think so :)

  • @ahmedel-yacoubi9417
    @ahmedel-yacoubi9417 Рік тому +2

    I have to be honest. you are the best at explaining java concepts. I also have to be honest my English is not that good but you speak very clearly and that helps me so much thank you. I can't thank you enough, god bless you for your work helping java programmers.
    God bless you

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

      Wow, thanks a lot for the kind words!

  • @justinstorm
    @justinstorm 8 місяців тому +1

    Criminal amount of views. Thank u thank u thank u

  • @antonk2157
    @antonk2157 4 місяці тому

    Great tutorial

  • @Mohamed-uf5jh
    @Mohamed-uf5jh 2 роки тому +1

    Very clear explain, and very helpful Thanks

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

      You are welcome! Glad you liked it :)

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

    Amazing examples and excellent explanation!❤

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

      Thank you :) Glad it was helpful!

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

    Amazing, can you make a tutorial for Google Guava in the future.

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

      Sure, will add it to my list of upcoming videos! Cheers :)

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

    how come this guy has only 6k followers?

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

    Mistake @ 11:55 - should be // prints "Geekific" 6 times