Skip to content

Glossary: Software Design Patterns in Java

DoubleUnaryOperator

Also written: applyAsDouble

A Java functional interface for a function from one `double` to another, called with `applyAsDouble`. Each discount strategy is one.

Where the book teaches it

Related terms

StrategyFunctional interface