Functional Programming - Functional Interface

About

A functional interface is a interface with only one single method that is the basic building block of functional programming.

In a event-driven process, a functional interface is called a event handler.

Type Default function signature
Supplier of data R get()
Intermediate (filter, map, …) R apply(S)
Consumer void apply(S)

Powered by ComboStrap