Uses of Interface
javax.money.MonetaryRounding
| Package | Description |
|---|---|
| javax.money |
Main package of the Money and Currency API.
|
| javax.money.spi |
SPI interfaces of the Money and Currency API, including bootstrap logic.
|
-
Uses of MonetaryRounding in javax.money
Methods in javax.money that return MonetaryRounding Modifier and Type Method Description MonetaryRoundingDefaultMonetaryRoundingsSingletonSpi. getDefaultRounding()Get the default rounding, which delegates rounding dynamically depending on the current currency.static MonetaryRoundingMonetary. getDefaultRounding()Creates a rounding that can be added asMonetaryOperatorto chained calculations.static MonetaryRoundingMonetary. getRounding(java.lang.String roundingName, java.lang.String... providers)Access anMonetaryOperatorfor custom roundingMonetaryAmountinstances.static MonetaryRoundingMonetary. getRounding(CurrencyUnit currencyUnit, java.lang.String... providers)Creates anMonetaryOperatorfor roundingMonetaryAmountinstances given a currency.static MonetaryRoundingMonetary. getRounding(RoundingQuery roundingQuery)Access aMonetaryRoundingusing a possibly complex query.Methods in javax.money that return types with arguments of type MonetaryRounding Modifier and Type Method Description java.util.Collection<MonetaryRounding>DefaultMonetaryRoundingsSingletonSpi. getRoundings(RoundingQuery query)Query all roundings matching the givenRoundingQuery.static java.util.Collection<MonetaryRounding>Monetary. getRoundings(RoundingQuery roundingQuery)Access multipleMonetaryRoundinginstances using a possibly complex query -
Uses of MonetaryRounding in javax.money.spi
Methods in javax.money.spi that return MonetaryRounding Modifier and Type Method Description MonetaryRoundingMonetaryRoundingsSingletonSpi. getDefaultRounding()Creates aMonetaryRoundingthat can be added asMonetaryOperatorto chained calculations.default MonetaryRoundingMonetaryRoundingsSingletonSpi. getRounding(java.lang.String roundingName, java.lang.String... providers)Access aMonetaryRoundingusing the rounding name.default MonetaryRoundingMonetaryRoundingsSingletonSpi. getRounding(CurrencyUnit currencyUnit, java.lang.String... providers)Access aMonetaryRoundingfor roundingMonetaryAmountinstances given a currency.default MonetaryRoundingMonetaryRoundingsSingletonSpi. getRounding(RoundingQuery query)Query a specific rounding with the given query.MonetaryRoundingRoundingProviderSpi. getRounding(RoundingQuery query)Evaluate the rounding that match the given query.Methods in javax.money.spi that return types with arguments of type MonetaryRounding Modifier and Type Method Description java.util.Collection<MonetaryRounding>MonetaryRoundingsSingletonSpi. getRoundings(RoundingQuery query)Execute a query forMonetaryRounding.