- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A supplier of
ExchangeRateProvider name that references an implementation. This can be used to let
an enum type implement this interface, so enums values can be passed to MonetaryConversions
for determining the rate providers to be used.-
Method Summary
-
Method Details
-
get
String get()Get the provider name. This signature equals to the signature of java.util.function.Supplier in Java 8.- Returns:
- the provider name, not null.
-