What are Lambda Expressions and Method Reference in Java 8?

preview_player
Показать описание
I wanted to make this video because I noticed that I use Lambda Expressions and Method References a lot in my tutorials, and maybe some of you are not that familiar with them. Hopefully this video will help you understand what you need to know about these things and how they have become such useful tools since their introduction in Java 8!

Follow me:

Sections:
00:00 - Intro
00:35 - Old for loop
01:25 - Stream API
02:15 - Annonymous Class Approach
03:55 - Full Body Lambda
05:34 - Functional Interface
06:34 - Lambda Expression
07:14 - Method Reference
08:02 - First Argument Method Reference
09:51 - Static Method Reference
10:56 - First Argument Method Reference with multiple params
14:37 - Object Method Reference
17:37 - Stateful Object Method Reference
19:15 - Outro
Рекомендации по теме
join shbcf.ru