How to use Method References - Java 8 Tutorial

Published: 01 November 2021
on channel: Aneesh Mistry
12,134
394

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


On this page of the site you can watch the video online How to use Method References - Java 8 Tutorial with a duration of hours minute second in good quality, which was uploaded by the user Aneesh Mistry 01 November 2021, share the link with friends and acquaintances, this video has already been watched 12,134 times on youtube and it was liked by 394 viewers. Enjoy your viewing!