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.

@FunctionalInterface public interface CurrencyContextSupplier<T extends CurrencyContext>
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 Type
    Method
    Description
    getCurrencyContext(javax.money.CurrencyUnit currency)
    Gets the corresponding CurrencyContext.
  • Method Details

    • getCurrencyContext

      @NonNull T getCurrencyContext(javax.money.CurrencyUnit currency)
      Gets the corresponding CurrencyContext.
      Parameters:
      currency -
      Returns:
      the corresponding CurrencyContext, not null.