MonetaryRoundedFactory, this implementation returns the RoundedMoney.
MonetaryRoundedFactory#create(Number, CurrencyUnit)
| Modifier and Type | Field and Description |
|---|---|
| private final MonetaryOperator |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public MonetaryAmount | create(Number number, CurrencyUnit currencyUnit)
Implements org. Create a |
| public MonetaryOperator | getRoundingOperator()
Implements org. return the |
| public String |
| roundingOperator | back to summary |
|---|---|
| private final MonetaryOperator roundingOperator | |
| DefaultMonetaryRoundedFactory | back to summary |
|---|---|
| public DefaultMonetaryRoundedFactory(MonetaryOperator roundingOperator) | |
| create | back to summary |
|---|---|
| public MonetaryAmount create(Number number, CurrencyUnit currencyUnit) Implements org. Doc from org. Create a
| |
| getRoundingOperator | back to summary |
|---|---|
| public MonetaryOperator getRoundingOperator() Implements org. Doc from org. return the
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |