Glossary: Software Design Patterns in Java
Supplier
Also written: Supplier<Carrier>, get()
A Java functional interface for a function that takes nothing and returns a value, called with `get()`. A map of suppliers holds a recipe for each carrier, and `Supplier<Instant>` is a clock.