Advanced Features in Java: Using the Java Stream API with Collections
Java
| Expert
- 9 videos | 1h 11m 14s
- Includes Assessment
- Earns a Badge
In this course, you'll learn about how the Stream APIs provide ways to work with collections as streams of objects. You'll examine how operations such as filter, map, and foreach can be applied to collections by treating them as streams of data elements. Next, you'll learn how to use both anonymous inner class objects and lambda functions with streams, how to define predicates, and how to chain multiple stream operators together into a single pipeline that ends with a terminal operator returning a result. Next, you'll discover the differences between terminal and non-terminal operations, as well as between two different types of terminal operations - reduce and collect operations. Finally, you'll see how collect operations can be used to perform extremely complex operations on collections with minimal code.
WHAT YOU WILL LEARN
-
Discover the key concepts covered in this courseRecognize what streams are and some of the methods you can invoke on themDescribe how to test whether all elements in a stream satisfy a specific conditionDemonstrate that predicates can be used to transform one stream object into anotherAssociate streams containing integer, long, float, and double objects to specific stream types
-
Apply terminal operations on predicatesAssess how to test streams with the .collect function in order to return a collectionDefine a custom collector and use it with a stream predicateSummarize the key concepts covered in this course
IN THIS COURSE
-
2m 30s
-
8mAfter completing this video, you will be able to recognize what streams are and some of the methods you can use on them. FREE ACCESS
-
10m 4sAfter completing this video, you will be able to describe how to test whether all elements in a stream satisfy a specific condition. FREE ACCESS
-
10m 48sLearn about that predicates can be used to transform one stream object into another. FREE ACCESS
-
9m 19sIn this video, you will learn how to associate streams containing integer, long, float, and double objects to specific stream types. FREE ACCESS
-
9m 20sLearn how to apply terminal operations to predicates. FREE ACCESS
-
10m 55sIn this video, you will learn how to test streams with the .collect function in order to return a collection. FREE ACCESS
-
8m 18sIn this video, you will learn how to define a custom collector and use it with a stream predicate. FREE ACCESS
-
1m 59s
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.
Digital badges are yours to keep, forever.