- Course
Using Java Streams
The Stream API is an in-memory implementation of the map/filter/reduce pattern, introduced in Java 8. In this course, you will learn the basics of this API, how you can use it to improve your code, and how this implementation works internally.
- Course
Using Java Streams
The Stream API is an in-memory implementation of the map/filter/reduce pattern, introduced in Java 8. In this course, you will learn the basics of this API, how you can use it to improve your code, and how this implementation works internally.
Get started today
Access this course and other top-rated tech content with one of our business plans.
Try this course for free
Access this course and other top-rated tech content with one of our individual plans.
This course is included in the libraries shown below:
- Core Tech
What you'll learn
The Stream API is now one of the two main API used to processed data in Java. It implements a very popular pattern: map/filter/reduce. In this course, Using Java Streams, you will learn three things. First, you will see how this map/filter/reduce pattern works and how you can recognize its use in existing code. Then, you will explore how it has been implemented by the Stream API, and what the details are of this implementation to fully understand how you can leverage this API to write clean and efficient code. Finally, you will discover how to implement common use cases that will help you use this API very quickly in your applications. By the end of this course, you will have explored the theory to fully understand both the algorithm and the implementation.
Using Java Streams
-
Version Check | 15s
-
Introducing the Course and Its Agenda | 3m
-
Who Are You? What Should You Know to Follow This Course? | 1m 10s
-
Module Agenda, Using the Map / Filter / Reduce Algorithm | 1m 31s
-
Introducing the Mapping, the Filtering, and the Reduction Steps | 2m 14s
-
Defining the Mapping and the Filtering Steps | 1m 39s
-
Implementing Map / Filter / Reduce with the Iterator Pattern | 2m 21s
-
Trying to Implement Map / Filter / Reduce on the Collection API | 1m 29s
-
Analyzing the Map / Filter Implementation on the Collection API | 2m 2s
-
Desiging the Stream API to Avoid Duplicating the Processed Data | 1m 51s
-
Implementing Map / Filter / Reduce on the Stream API | 3m 12s
-
Defining Intermediate and Terminal Operations on Streams | 1m 47s
-
Module Wrap Up | 1m 59s