Module java.money

Interface ExchangeRateProviderSupplier

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ExchangeRateProviderSupplier
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

    Modifier and Type
    Method
    Description
    get()
    Get the provider name.
  • 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.