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

YouTube

Free Your Lambdas: Leveraging Functional Interfaces in Java

Java via YouTube

Overview

Explore the power of lambdas and functional interfaces in Java through this comprehensive 1 hour 50 minute tutorial. Learn how to write lambdas from anonymous class instances and discover new Collection API methods that leverage lambdas and default methods for improved performance. Examine real-world examples from the JDK to understand how functional interfaces create new APIs. Implement well-known patterns using lambdas for cleaner, more robust code. Cover topics such as Comparators, passing code as parameters, the Iterable interface, method references, and functional interfaces like Consumer and Runnable. Gain practical insights through demonstrations, quizzes, and hands-on examples to enhance your Java programming skills and optimize your code using lambda expressions.

Syllabus

Intro
Overview
Who am I
Apology
Questions
Easy Quiz
Comparator
Passing code as a parameter
Writing a lambda
Functional interfaces
Demo time
Iterable interface
Abstract method
Iterable
Execution
Runnable
Random
Compiler Error
Writing Lambdas
Method Reference
Default Method
Abstract Methods
Consumer Interface
Fail Fast Fail
Default Methods
Functional Interface
Comparators
Then Compare
Compare

Taught by

Java

Reviews

Start your review of Free Your Lambdas: Leveraging Functional Interfaces 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.