Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Pluralsight

Lambda Expressions in Java

via Pluralsight

Overview

Lambda expressions were added to Java more than 10 years ago. This course explains how you can write lambdas, how you can create your own and compose them, and how to use them to improve the readability of your code.

Lambda expressions in Java are a classical tool that you can use to organize your applications and write better code. You can use them as is, but you can also go one step further and create your own. In this course, Lambda Expressions in Java, you will learn how to write lambdas and use them in your applications. First, you will explore how some APIs of the JDK have been built on lambda expressions, and how it brings better patterns of code that are more readable and easier to maintain. Then, you will see how the Java type system works for lambda expressions, how you can compose lambda expressions, and how you can write lambda expressions as method references. Finally, you will learn how to design your own lambda expressions by creating your own functional interfaces. When you are finished with this course, you will be able to write lambda expressions and method references easily, by just seeing the type of the lambda you need, and you will be able to refactor your existing code to leverage the level of quality that lambda expressions can give you.

Syllabus

  • Course Overview 1min
  • Writing Lambda Expressions with Functional Interfaces 35mins
  • Composing and Chaining Lambda Expressions 47mins
  • Using Method References to Write Lambda Expressions 22mins
  • Creating Comparators Using Method References 33mins
  • Designing a Text File Analyzer Using Lambdas 38mins

Taught by

Jose Paumard

Reviews

4.9 rating at Pluralsight based on 11 ratings

Start your review of Lambda Expressions in Java

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.