Skip to content

Glossary: Software Design Patterns in Java

Method reference

Also written: constructor reference, ::

A way to use an existing method or constructor as a value, written like `Discounts::wholesaleTiers` or `UpsCarrier::new`.

Where the book teaches it

Related terms

LambdaFunctional interfaceSupplier