| Interface | Description |
|---|---|
| CurrencySupplier |
Represents a supplier of
CurrencyUnit-valued results. |
| CurrencyUnit |
A unit of currency.
|
| MonetaryAmount |
Interface defining a monetary amount.
|
| MonetaryAmountFactory<T extends MonetaryAmount> |
Factory for
MonetaryAmount instances for a given type. |
| MonetaryOperator |
Represents an operation on a single
MonetaryAmount that produces a result of type
MonetaryAmount. |
| MonetaryQuery<R> |
Strategy for querying a monetary amount.
|
| NumberSupplier |
Represents a supplier of
NumberValue-valued results. |
| Class | Description |
|---|---|
| AbstractContext |
This class models an abstract context that allows to define extendible and
portable contexts with any kind of attributes in a type safe way.
|
| AbstractContext.AbstractBuilder<B extends AbstractContext.AbstractBuilder<B>> |
Builder class to create
AbstractContext instances. |
| MonetaryAmounts |
Factory singleton for
MonetaryAmount instances as provided by the different registered
MonetaryAmountFactory instances. |
| MonetaryContext |
This class models the numeric capabilities of a
MonetaryAmount in a
platform independent way. |
| MonetaryContext.Builder |
This class allows to build and create instances of
MonetaryContext using a fluent API. |
| MonetaryCurrencies |
Factory singleton for
CurrencyUnit instances as provided by the
different registered CurrencyProviderSpi instances. |
| MonetaryRoundings |
This class models the accessor for rounding instances, modeled as
MonetaryOperator. |
| NumberValue |
Instances of this class allow to externalize the numeric value of a
MonetaryAmount. |
| Enum | Description |
|---|---|
| MonetaryContext.AmountFlavor |
Defines the possible flavors of
MonetaryAmount implementations. |
| Exception | Description |
|---|---|
| MonetaryException |
Exception thrown when an error occurs during monetary operations.
|
| UnknownCurrencyException |
Exception thrown when a currency code cannot be resolved into a
CurrencyUnit. |
CurrencyUnit and
MonetaryAmount.MonetaryOperator. This should include basic roundings for
ISO currencies, roundings defined by java.math.MathContext or
java.math.RoundingMode.java.time / [JodaMoney].