public class CompoundRateProvider extends AbstractRateProvider
ExchangeRateProvider that delegates calls to
a collection of child ExchangeRateProvider instance.log| Constructor and Description |
|---|
CompoundRateProvider(Iterable<javax.money.convert.ExchangeRateProvider> providers)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
javax.money.convert.ExchangeRate |
getExchangeRate(javax.money.convert.ConversionQuery conversionQuery) |
divide, divide, getContext, getCurrencyConversion, multiplypublic CompoundRateProvider(Iterable<javax.money.convert.ExchangeRateProvider> providers)
providers - The collection of child ExchangeRateProvider
instances this class delegates calls to.public javax.money.convert.ExchangeRate getExchangeRate(javax.money.convert.ConversionQuery conversionQuery)
getExchangeRate in interface javax.money.convert.ExchangeRateProvidergetExchangeRate in class AbstractRateProviderCopyright © 2012-2015 JavaMoney. All Rights Reserved.