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 MonetaryContextBuilderMonetaryContextBuilder. of()Creates a new builder, hereby the target implementation type is required.static MonetaryContextBuilderMonetaryContextBuilder. of(java.lang.Class<? extends MonetaryAmount> amountType)Creates a new builder, hereby the target implementation type is required.static MonetaryContextBuilderMonetaryContextBuilder. of(MonetaryContext monetaryContext)Creates a new builder, using an existingMonetaryContextas a template.MonetaryContextBuilderMonetaryContextBuilder. setAmountType(java.lang.Class<? extends MonetaryAmount> amountType)Set the MonetaryAmount implementation class.MonetaryContextBuilderMonetaryContextBuilder. setFixedScale(boolean fixedScale)Set the flag if the scale should fixed.MonetaryContextBuilderMonetaryContextBuilder. setMaxScale(int maxScale)Set the maximal scale to be supported.MonetaryContextBuilderMonetaryContextBuilder. setPrecision(int precision)Set the required precision.MonetaryContextBuilderMonetaryContext. toBuilder()Creates a new builder instances, initialized with the data from this one.