This adds the specified amount to this monetary amount, returning a new object. If the currency is already present, the amount is added to the existing amount. If the currency is not yet present, the currency-amount is added to the map. The addition simply uses standard {@code double} arithmetic.
This instance is immutable and unaffected by this method. @param currencyAmountToAdd the amount to add, in the same currency, not null @return an amount based on this with the specified amount added, not null
|
|
|
|