Skip to content

Glossary: Software Design Patterns in Java

Lambda

Also written: lambdas

A short unnamed function written inline, such as `subtotal -> subtotal * 0.9`. Lambdas often replace small strategy classes, since they can be passed around as values.

Where the book teaches it

Related terms

Functional interfaceMethod referenceStrategy