|
Holger's Java API |
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use WrongCurrencyException | |
|---|---|
| com.antelmann.math | This package contains classes to ease calculations. |
| Uses of WrongCurrencyException in com.antelmann.math |
|---|
| Methods in com.antelmann.math that throw WrongCurrencyException | ||
|---|---|---|
Money |
Money.add(Money m)
|
|
|
MoneyConverter.aggregate(Map<T,Money> data,
PatternExtractor<T,P> pattern)
all Money is converted into the base currency |
|
static
|
Money.aggregate(Map<T,Money> data,
PatternExtractor<T,P> pattern)
utility function |
|
int |
MoneyConverter.compare(Money m1,
Money m2)
If the currencies are not equal, they are compared based on the baseCurrency. |
|
int |
Money.compareTo(Money m)
only compares value of the same currency |
|
Money |
MoneyConverter.convertToBaseCurrency(Money m)
|
|
Money |
Money.divide(Money divisor)
|
|
Money |
Money.multiply(Money m)
|
|
Money |
Money.subtract(Money m)
|
|
|
|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||