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

Dan Vega
Dan Vega
4.2 هزار بار بازدید - 4 سال پیش - In this tutorial, you will
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: https://github.com/danvega/filter-by-...
Streams API: https://docs.oracle.com/javase/8/docs...

👋🏻Connect with me:
Website: https://www.danvega.dev
Twitter: Twitter: therealdanvega
Github: https://github.com/danvega
Instagram: Instagram: thedanvega
LinkedIn: LinkedIn: danvega
Coffee & Code: https://www.danvega/dev/newsletter

SUBSCRIBE TO MY CHANNEL: http://bit.ly/2re4GH0 ❤️
4 سال پیش در تاریخ 1399/08/22 منتشر شده است.
4,214 بـار بازدید شده
... بیشتر