Uses of Class
javax.money.MonetaryContext
Packages that use MonetaryContext
Package
Description
Main package of the Money and Currency API.
SPI interfaces of the Money and Currency API, including bootstrap logic.
-
Uses of MonetaryContext in javax.money
Subclasses with type arguments of type MonetaryContext in javax.moneyModifier and TypeClassDescriptionfinal classBuilder class for creating new instances ofMonetaryContextadding detailed information about aMonetaryAmountinstance.Methods in javax.money that return MonetaryContextModifier and TypeMethodDescriptionMonetaryContextBuilder.build()Creates a new instance ofMonetaryAmountFactoryQuery.static MonetaryContextMonetaryContext.from(MonetaryAmountFactoryQuery monetaryAmountFactoryQuery, Class<? extends MonetaryAmount> amountClass) This method allows to easily of a new MonetaryContext instance from a given.MonetaryAmountFactoryQuery.static MonetaryContextMonetaryContext.from(MonetaryContext monetaryContext, Class<? extends MonetaryAmount> amountClass) Creates a new invalid input: '{@link /*missing*/}'MonetaryContext).MonetaryAmount.getContext()Returns theMonetaryContextof thisMonetaryAmount.MonetaryAmountFactory.getDefaultMonetaryContext()Returns the defaultMonetaryContextused, when noMonetaryContextis provided.default MonetaryContextMonetaryAmountFactory.getMaximalMonetaryContext()Returns the maximalMonetaryContextsupported, for requests that exceed these maximal capabilities, anArithmeticExceptionmust be thrown.Methods in javax.money with parameters of type MonetaryContextModifier and TypeMethodDescriptionstatic MonetaryContextMonetaryContext.from(MonetaryContext monetaryContext, Class<? extends MonetaryAmount> amountClass) Creates a new invalid input: '{@link /*missing*/}'MonetaryContext).static MonetaryContextBuilderMonetaryContextBuilder.of(MonetaryContext monetaryContext) Creates a new builder, using an existingMonetaryContextas a template.MonetaryAmountFactory.setContext(MonetaryContext monetaryContext) Sets theMonetaryContextto be used.Constructors in javax.money with parameters of type MonetaryContext -
Uses of MonetaryContext in javax.money.spi
Methods in javax.money.spi that return MonetaryContextModifier and TypeMethodDescriptionMonetaryAmountFactoryProviderSpi.getDefaultMonetaryContext()Returns the defaultMonetaryContextused, when noMonetaryContextis provided.default MonetaryContextMonetaryAmountFactoryProviderSpi.getMaximalMonetaryContext()Returns the maximalMonetaryContextsupported, for requests that exceed these maximal capabilities, anArithmeticExceptionmust be thrown.