New to Java 8: Functional Interfaces (Function, Consumer, Predicate, Supplier) - Tutorial

preview_player
Показать описание
Functional interfaces are an important component to Java 8 in it's strive toward more functional programming styles to complement the Object-orientated language.

This video will look at 4 key functional interfaces provided in Java 8 to support Lambda functional writing.
First we will look at why they are needed and how they work, then we will explore the extended functional interfaces such as the unary and binary operator.

Comment, like and subscribe for more content on Java and software engineering.

Рекомендации по теме
Комментарии
Автор

exactly what I was looking for, thank you!

White_King
Автор

Thanks you for the super concise and clear explanation. I've actually been using a lot of these functions what was confused by the Java document terminology for different methods saying they accept consumer /predicate/ function etc., but this video has shown me that they're actually really simple!

gehadqaki
Автор

Thanks, please show a scenario then you use the extended functions and so.

TM-jbbw