Uses of Interface
javax.money.MonetaryRounding
Packages that use MonetaryRounding
Package
Description
Main package of the Money and Currency API.
SPI interfaces of the Money and Currency API, including bootstrap logic.
-
Uses of MonetaryRounding in javax.money
Classes in javax.money that implement MonetaryRoundingModifier and TypeClassDescriptionprivate static final classDefault Rounding that rounds aMonetaryAmountbased on the amount'sCurrencyUnit.Fields in javax.money declared as MonetaryRoundingModifier and TypeFieldDescriptionprivate static final MonetaryRoundingDefaultMonetaryRoundingsSingletonSpi.DEFAULT_ROUNDINGAn adaptive rounding instance that transparently looks up the correct rounding.Methods in javax.money that return MonetaryRoundingModifier and TypeMethodDescriptionDefaultMonetaryRoundingsSingletonSpi.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(String roundingName, String... providers) Access anMonetaryOperatorfor custom roundingMonetaryAmountinstances.static MonetaryRoundingMonetary.getRounding(CurrencyUnit currencyUnit, 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 MonetaryRoundingModifier and TypeMethodDescriptionDefaultMonetaryRoundingsSingletonSpi.getRoundings(RoundingQuery query) Query all roundings matching the givenRoundingQuery.static 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 MonetaryRoundingModifier and TypeMethodDescriptionMonetaryRoundingsSingletonSpi.getDefaultRounding()Creates aMonetaryRoundingthat can be added asMonetaryOperatorto chained calculations.default MonetaryRoundingMonetaryRoundingsSingletonSpi.getRounding(String roundingName, String... providers) Access aMonetaryRoundingusing the rounding name.default MonetaryRoundingMonetaryRoundingsSingletonSpi.getRounding(CurrencyUnit currencyUnit, String... providers) Access aMonetaryRoundingfor roundingMonetaryAmountinstances given a currency.default MonetaryRoundingMonetaryRoundingsSingletonSpi.getRounding(RoundingQuery query) Query a specific rounding with the given query.RoundingProviderSpi.getRounding(RoundingQuery query) Evaluate the rounding that match the given query.Methods in javax.money.spi that return types with arguments of type MonetaryRoundingModifier and TypeMethodDescriptionMonetaryRoundingsSingletonSpi.getRoundings(RoundingQuery query) Execute a query forMonetaryRounding.