Uses of Class
javax.money.MonetaryContextBuilder
Package | Description |
---|---|
javax.money |
Main package of the Money and Currency API.
|
-
Uses of MonetaryContextBuilder in javax.money
Methods in javax.money that return MonetaryContextBuilder Modifier and Type Method Description static MonetaryContextBuilder
MonetaryContextBuilder. of()
Creates a new builder, hereby the target implementation type is required.static MonetaryContextBuilder
MonetaryContextBuilder. of(java.lang.Class<? extends MonetaryAmount> amountType)
Creates a new builder, hereby the target implementation type is required.static MonetaryContextBuilder
MonetaryContextBuilder. of(MonetaryContext monetaryContext)
Creates a new builder, using an existingMonetaryContext
as a template.MonetaryContextBuilder
MonetaryContextBuilder. setAmountType(java.lang.Class<? extends MonetaryAmount> amountType)
Set the MonetaryAmount implementation class.MonetaryContextBuilder
MonetaryContextBuilder. setFixedScale(boolean fixedScale)
Set the flag if the scale should fixed.MonetaryContextBuilder
MonetaryContextBuilder. setMaxScale(int maxScale)
Set the maximal scale to be supported.MonetaryContextBuilder
MonetaryContextBuilder. setPrecision(int precision)
Set the required precision.MonetaryContextBuilder
MonetaryContext. toBuilder()
Creates a new builder instances, initialized with the data from this one.