Studiewijzer module 04
Functional Programming


  • FunctionalInterface is altijd een interface met exact 1 abstracte methode.

Functional Interfaces

Consumer<T>

Represents an operation that accepts a single input argument and returns no result.

BiConsumer<T,U>

Represents an operation that accepts two input arguments and returns no result.

Supplier<T>

Represents a supplier of results.

Function<T,R>

Represents a function that accepts one argument and produces a result.

BiFunction<T,U,R>

Represents a function that accepts two arguments and produces a result.

Predicate<T>

Represents a predicate (boolean-valued function) of one argument.

BiPredicate<T,U>

Represents a predicate (boolean-valued function) of two arguments.

UnaryOperator<T>

Represents an operation on a single operand that produces a result of the same type as its operand.

BinaryOperator<T>

Represents an operation upon two operands of the same type, producing a result of the same type as the operands.


« Vorige module Volgende module »