javax.money.convert.ExchangeRateProvider that provides exchange rate with factor
one for identical base/term currencies.
| Modifier and Type | Field and Description |
|---|---|
| private static final ProviderContext | CONTEXT
The |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ExchangeRate | getExchangeRate(ConversionQuery conversionQuery)
Implements abstract org. Implements javax. Access a |
| public ExchangeRate | getReversed(ExchangeRate rate)
Overrides default javax. The method reverses the |
| public boolean | Returns: true, if the contained base and term currencies are known to this provider.the required conversionQuery)ConversionQuery, not nullOverrides default javax. Check if this provider can provide a rate, which is only the case if base and term are equal. |
| CONTEXT | back to summary |
|---|---|
| private static final ProviderContext CONTEXT The | |
| IdentityRateProvider | back to summary |
|---|---|
| public IdentityRateProvider() Constructor, also loads initial data. | |
| getExchangeRate | back to summary |
|---|---|
| public ExchangeRate getExchangeRate(ConversionQuery conversionQuery) Implements abstract org. Implements javax. Doc from javax. Access a
| |
| getReversed | back to summary |
|---|---|
| public ExchangeRate getReversed(ExchangeRate rate) Overrides default javax. Doc from javax. The method reverses the
| |
| isAvailable | back to summary |
|---|---|
| public boolean isAvailable(ConversionQuery conversionQuery) Overrides default javax. Check if this provider can provide a rate, which is only the case if base and term are equal.
| |