Holger's
Java API

Uses of Class
com.antelmann.math.WrongCurrencyException

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)
           
<P,T> HashMap<P,Money>
MoneyConverter.aggregate(Map<T,Money> data, PatternExtractor<T,P> pattern)
          all Money is converted into the base currency
static
<P,T> HashMap<P,Money>
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)
           
 



(c) Holger Antelmann since 2001- all rights reserved (contact: info@antelmann.com)
see www.antelmann.com/developer for further details and available downloads