How to use Method References - Java 8 Tutorial

preview_player
Показать описание
Learn how, and when you can use method references to improve the readability of your Lambda functions.
Introduced with Java 8, method references can be used to replace lambda expressions that point to a class method, an instance method, and a class constructor.
By understanding how and when method references can be used, you will reduce the boilerplate code written for your lambda expressions.

🕒 Timestamps 🕒

00:00 - Intro
01:50 - Syntax
03:55 - Use case: class method
05:50 - Use case: constructor
07:57 - Use case: instance method
09:20 - Limitations
Рекомендации по теме
Комментарии
Автор

A terrific video on MRs.
Crisp and precise. Even many one hour videos on MRs don't explain so clearly.

arunyton
Автор

What a superb way to explain concepts, thank you!

fabricio-garcia
Автор

Great video.Subscribed to your channel. Hoping to see great videos in future

ajaybiswal
Автор

this video cover all the points thank you sir

supun_sandaruwan
Автор

Amazing video! The only thing that isn't totally clear for me is why you used a Person parameter in the printMyName method? Why is this necessary? You only use the instance of a persons object anyway?

caleb_
Автор

my teacher suck explaining haha, thanks

mateoherrera
Автор

video quality is good . increase volume of your voice . it is much thinner . get a really really good microphone if you are doing yt continuesly .

WeirdStuffaaaa
Автор

ages are way off... otherwise good video

benneal