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, multiply
public 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.ExchangeRateProvider
getExchangeRate
in class AbstractRateProvider
Copyright © 2012-2015 JavaMoney. All Rights Reserved.