MENU

Fun & Interesting

Stream API in Java : Foundation | Java 8

Selenium Express 23,056 lượt xem 7 months ago
Video Not Working? Fix It Now

In this video we will learn about one of the Java 8's new features called Stream API. The java stream api introduced in java 8, changed the way we write and read java code.

Java Stream API is an absolute beast when it comes to data processing as it enables the scope to process the data in a declarative approach. It opens a way to fusion multiple methods by doing method chaining and gives us a way to write lambda expressions as most of the Java streams methods accepts lambda as a parameter. Thus we can reduce our traditional loops/condition checks / conversion code and significantly improve our code readability.

As we have discussed, The java Stream api is not a data structure but it is used to process a collection of objects.

In this episode we will learn, How we can open a stream from a source and how we can process the elements from our stream using Stream api methods.

In this video, We will discuss about the
1.Java stream api 's generate() which helps us creating a infinite stream
2. Stream also has a method called Stream.of which helps to create finite data stream
3.We will also understand the way to create java stream from a collection.
4.Last but not the least, we will learn a way to consume each of the elements from a java stream.

Timestamp
-----------------
00:00 - Introduction to java 8 stream api
04:47 - Stream generator
06:28- Java Functional Interface : Supplier
12:31 - Stream API foreach()
06:28- Java Functional Interface : Consumer
20:18 - Stream.of
24:55 - Stream in Java with Animation
31:21 - Lambda & Stream in Action
46:36 - processing a List of Custom objects with java stream

We will learn about the advantages of Stream API and Start understanding Java 8 Stream deeper from the next video.

For more free/paid courses visit
https://www.seleniumexpress.com

LINKS AND FREE LEARNING RESOURCES
========
Watch my new mock interview series for java developers
https://youtu.be/yX2w-Sof95s

Watch my new Hello spring boot series
https://youtu.be/F_rGkDeihBg?si=AvqLgRVvytkhy8lq

Watch Spring boot Hot topics
https://youtu.be/CUQWZHjuq-w

spring core
https://www.youtube.com/watch?v=r2Q0Jzl2qMQ&list=PL3NrzZBjk6m-nYX072dSaGfyCJ59Q5TEi

spring mvc
https://www.youtube.com/watch?v=zCHrZdJODg4&list=PL3NrzZBjk6m-OSeL3DRMD_ISa0u-9c1l1

spring mvc intermediate
https://www.youtube.com/watch?v=40YaLHbrwrY&list=PL3NrzZBjk6m_2jw8sC0BkEwSPFHxgQDWr

Spring JDBC
https://www.youtube.com/watch?v=5j_vh1b9dV8&list=PL3NrzZBjk6m-rYTKze-5Y5RvU8eykal4j

spring live project
https://www.youtube.com/watch?v=m_b_FwDjAXM&list=PL3NrzZBjk6m-9CVPueDLLermojwtfuW_f

SPRING SECURITY COURSE[NEW]
https://youtu.be/NMNLozLGT1s

For more courses visit
https://www.seleniumexpress.com

Any time you are getting stuck with issues, Feel free to ask for support.
You can send mail to seleniumexpress@gmail.com

you can ping me on my Facebook page
https://www.facebook.com/seleniumexpress

Make sure to join my private Facebook page (Ask me here)
“SeleniumExpress - Support"
https://www.facebook.com/groups/187000222361579/

you can ask for support in my website forum
https://www.seleniumexpress.com

Follow me on Insta
https://www.instagram.com/selenium_express/

Comment