Home | History | Annotate | Download | only in util

Lines Matching full:currency

18  * An amount of currency, consisting of a Number and a Currency.
22 * @see Currency
28 * Constructs a new object given a number and a currency.
30 * @param currency the currency
32 public CurrencyAmount(Number number, Currency currency) {
33 super(number, currency);
37 * Constructs a new object given a double value and a currency.
39 * @param currency the currency
41 public CurrencyAmount(double number, Currency currency) {
42 super(new Double(number), currency);
46 * Constructs a new object given a number and a Java currency.
48 * @param currency the currency
51 public CurrencyAmount(Number number, java.util.Currency currency) {
52 this(number, Currency.fromJavaCurrency(currency));
56 * Constructs a new object given a double value and a Java currency.
58 * @param currency the currency
61 public CurrencyAmount(double number, java.util.Currency currency) {
62 this(number, Currency.fromJavaCurrency(currency));
66 * Returns the currency of this object.
67 * @return this object's Currency
69 public Currency getCurrency() {
70 return (Currency) getUnit();