Using Lambda Expressions in Java Code
Offered By: Pluralsight
Course Description
Overview
Lambda Expressions are one of the foundation of the Java language available since Java 8. In this course, you will learn a very simple method to write lambda expressions that always works and how to chain and compose them.
Lambda Expressions are one of the foundations of the Java language since Java 8, but it can be a bit tricky. In this course, Using Java Lambda Expressions, you will learn how to write these expressions in a simple method that will never fail. First, you will see how to write lambda expressions using a simple method that you can use in any kind of situation. Then, you will learn how to chain and compose lambdas, leveraging the default methods from the interfaces these lambdas are implementing. Finally, you will hear about performances and see how to avoid performance hits by using specialized lambdas. By the end of this course, you will be able to write suppliers, consumers, predicates and functions: the four fundamental interfaces from the java.util.function toolbox.
Lambda Expressions are one of the foundations of the Java language since Java 8, but it can be a bit tricky. In this course, Using Java Lambda Expressions, you will learn how to write these expressions in a simple method that will never fail. First, you will see how to write lambda expressions using a simple method that you can use in any kind of situation. Then, you will learn how to chain and compose lambdas, leveraging the default methods from the interfaces these lambdas are implementing. Finally, you will hear about performances and see how to avoid performance hits by using specialized lambdas. By the end of this course, you will be able to write suppliers, consumers, predicates and functions: the four fundamental interfaces from the java.util.function toolbox.
Syllabus
- Course Overview 1min
- Implementing Lambda Expressions with Functional Interfaces 19mins
- Writing Suppliers, Consumers, Predicates, and Functions 20mins
- Invoking a Lambda Expression on Objects and Primitive Types 10mins
- Creating Lambdas by Chaining and Composing Other Lambdas 20mins
Taught by
Jose Paumard
Related Courses
A Simple Picture Storing App with Java and Android StudioCoursera Project Network via Coursera Advanced Data Structures in Java
University of California, San Diego via Coursera Advanced Java Concurrency
Vanderbilt University via Coursera Advanced Monitoring and Optimizing with DynamoDB (Spanish)
Amazon Web Services via AWS Skill Builder Advanced Monitoring and Optimizing with DynamoDB (Simplified Chinese)
Amazon Web Services via AWS Skill Builder