public abstract class AbstractAmountMoneyCurrencyStorage extends Object implements AmountMoneyCurrencyStorage
| Constructor and Description |
|---|
AbstractAmountMoneyCurrencyStorage() |
| Modifier and Type | Method and Description |
|---|---|
org.jscience.economics.money.Currency |
translate(Currency currency)
Translation is performed based on the naive assumption that it can occur
based on currency codes.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCurrencies, removeCurrency, saveCurrencypublic org.jscience.economics.money.Currency translate(Currency currency) throws AmountMoneyCurrencyStorageException
AmountMoneyCurrencyStorage.getCurrencies() are unique because that's assumed.translate in interface AmountMoneyCurrencyStoragecurrency - the currency to translatenull if currency can't
be translated into a JScience currency or if data isn't available in
this storageAmountMoneyCurrencyStorageException - is an exception accessing the
internal set of available currencies occursCopyright © 2018. All rights reserved.