| Package | Description |
|---|---|
| javax.money |
Main package of the Money and Currency API.
|
| Modifier and Type | Method | Description |
|---|---|---|
static MonetaryContextBuilder |
MonetaryContextBuilder.of() |
Creates a new builder, hereby the target implementation type is required.
|
static MonetaryContextBuilder |
MonetaryContextBuilder.of(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 existing
MonetaryContext as a template. |
MonetaryContextBuilder |
MonetaryContextBuilder.setAmountType(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.
|
Copyright © 2012–2018 JSR 354 - Expert Group. All rights reserved.