Java Streams Tutorial | Learn how to filter a list in Java using streams in 2020

Sdílet
Vložit
  • čas přidán 1. 08. 2024
  • In this tutorial, you will learn how to use the streams API in Java to filter your list of objects. A subscriber of my website reached out to me and asked how he could filter through a list of objects. These objects had lists of their own so he wanted to know how he could use multiple filters. In this example, you will build out a similar object graph and learn how to use the streams API to filter for specific criteria.
    0:00 Intro
    2:55 Creating the project
    3:40 Building the model
    9:37 Create a list of employees
    12:30 Iterating over a list
    16:15 Streams
    22:00 Happy Coding
    🔗Resources & Links mentioned in this video:
    Github Repo: github.com/danvega/filter-by-...
    Streams API: docs.oracle.com/javase/8/docs...
    👋🏻Connect with me:
    Website: www.danvega.dev
    Twitter: / therealdanvega
    Github: github.com/danvega
    Instagram: / thedanvega
    LinkedIn: / danvega
    Coffee & Code: www.danvega/dev/newsletter
    SUBSCRIBE TO MY CHANNEL: bit.ly/2re4GH0 ❤️
  • Věda a technologie

Komentáře • 5

  • @fanaha282
    @fanaha282 Před 5 měsíci

    a good step by step teaching i really appreciate that good job keep it going
    i hope many people discover this chanel

  • @ivanflores8554
    @ivanflores8554 Před 2 lety

    Great video! I’ve learned so much from your channel, thank you

  • @kbpmowrya
    @kbpmowrya Před 2 lety

    Greate Video live example.

  • @fareed7716
    @fareed7716 Před 3 lety

    thank you nice work..!!! :)

  • @funcoding1797
    @funcoding1797 Před 2 lety

    great..tnx