Skip to content

Glossary: Algorithms Beyond the Basics in Java

lambda

Also written: lambdas

A tiny method with no name, such as `b -> b.end()`, handed to other code. Here it tells a Comparator what to sort by.

Where the book teaches it

Related terms

Comparator.comparingIntmethod reference