Description

Functional interface is an interface with a single abstract method (SAM).

List of Core Functional Interfaces

Interface NameArgumentsReturns
BiConsumer<T,U>(T, U)void
BiFunction<T, U, R>(T, U)R
BinaryOperator<T>(T, T)T
BiPredicate<T,U>(T, U)boolean
Consumer<T>Tvoid
Function<T, R>TR
Predicate<T>Tboolean
Supplier<T>T
UnaryOperator<T>TT