This is a container holding multiple {@link CurrencyAmount} instances.The amounts do not necessarily the same worth or value in each currency.
This class behaves as a set - if an amount is added with the same currency as one of the elements, the amounts are added. For example, adding EUR 100 to the container (EUR 200, CAD 100) would give (EUR 300, CAD 100).
This class is immutable and thread-safe.
|
|