Discord Community: / discord
GitHub Repository: https://github.com/geekific-official/
Java 8 brought a ton of new features with it. One of these features is a powerful new syntactic improvement in the form of lambda expressions. A lambda, is an anonymous function defined at the level of special interfaces. These interfaces are what we call functional interfaces. In this video, we dive in the most important functional interfaces provided by Java, and come up with multiple examples for each of them.
Timestamps:
00:00 Introduction
02:00 The Function Interface
03:29 The "andThen" default method
04:19 The "compose" default method
04:45 Specialized Function Interfaces
05:54 The BiFunction Interface
07:33 The Predicate Interface
09:53 The Supplier and Consumer Interfaces
12:36 Operators
14:40 Creating your own Functional Interface
14:57 Thanks for Watching!
If you found this video helpful, check other Geekific uploads:
Must Know Java Keywords!: • Must Know Java Keywords! | private, protec...
Time and Space Complexity Simplified (Big-O Notation): • Introduction to Big-O Notation with Exampl...
Stacks Explained and Implemented in Java: • Stacks: Explained and Implemented with Arr...
Queues Explained and Implemented in Java: • Queues Explained and Implemented with Arra...
Java Stream API Explained with Examples: • Java Stream API Explained with Examples | ...
Object-Oriented Programming Fundamentals: • What is Object-Oriented Programming? | Obj...
#Geekific #FunctionalInterfaces #Streams #Java #CleanCode