Package com.broadleafcommerce.money
Interface CurrencyContextSupplier<T extends CurrencyContext>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Represents a supplier of
CurrencyContext
-valued results. This is the
CurrencyContext
-producing specialization of Supplier
.
There is no requirement that a distinct result be returned each time the supplier is invoked.
- Author:
- Nathan Moore (nathandmoore)
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetCurrencyContext
(javax.money.CurrencyUnit currency) Gets the correspondingCurrencyContext
.
-
Method Details
-
getCurrencyContext
Gets the correspondingCurrencyContext
.- Parameters:
currency
-- Returns:
- the corresponding
CurrencyContext
, not null.
-