How to use Method References - Java 8 Tutorial

Описание к видео How to use Method References - Java 8 Tutorial

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

Комментарии

Информация по комментариям в разработке