Skip to content

Glossary: Java Beyond the Basics

Functional interface

Also written: @FunctionalInterface

An interface with exactly one abstract method, so a lambda can stand in for it, like PriceRule.

Where the book teaches it

Related terms

LambdaPredicate, Function, Consumer, Supplier