MonetaryAmountFactory,
javax.money.MonetaryRounding,
javax.money.CurrencyUnit, javax.money.convert.ExchangeRateProvider and .CurrencyConversion.
Instances of this class are not thread-safe and not serializable.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Map | data
The data map containing all values. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public abstract C | |
| public B | Returns: this Builder, for chainingthe context to be applied, not null. context, boolean flag, if existing entries should be overwritten. overwriteDuplicates)Apply all attributes on the given context. |
| public B | Returns: this Builder, for chainingthe context to be applied, not null. context)Apply all attributes on the given context, hereby existing entries are preserved. |
| public B | Returns: this Builder, for chainingthe keys keys)Removes an entry of a certain keys. |
| public B | |
| public B | |
| public B | |
| public B | |
| public B | |
| public B | |
| public B | |
| public B | |
| public <T> B | |
| public B | Returns: the Builder for chainingthe provider, not null. provider)Sets the provider. |
| public String |
| data | back to summary |
|---|---|
| pack-priv final Map<String, Object> data The data map containing all values. | |
| AbstractContextBuilder | back to summary |
|---|---|
| public AbstractContextBuilder() | |
| build | back to summary |
|---|---|
| public abstract C build() Creates a new
| |
| importContext | back to summary |
|---|---|
| public B importContext(AbstractContext context, boolean overwriteDuplicates) Apply all attributes on the given context.
| |
| importContext | back to summary |
|---|---|
| public B importContext(AbstractContext context) Apply all attributes on the given context, hereby existing entries are preserved.
| |
| removeAttributes | back to summary |
|---|---|
| public B removeAttributes(String... keys) Removes an entry of a certain keys. This can be useful, when a context is initialized with another
existing context, but only subset of the entries should be visible. For example
| |
| set | back to summary |
|---|---|
| public B set(String key, int value) Sets an Integer attribute.
| |
| set | back to summary |
|---|---|
| public B set(String key, boolean value) Sets an Boolean attribute.
| |
| set | back to summary |
|---|---|
| public B set(String key, long value) Sets an Long attribute.
| |
| set | back to summary |
|---|---|
| public B set(String key, float value) Sets an Float attribute.
| |
| set | back to summary |
|---|---|
| public B set(String key, double value) Sets an Double attribute.
| |
| set | back to summary |
|---|---|
| public B set(String key, char value) Sets an Character attribute.
| |
| set | back to summary |
|---|---|
| public B set(Object value) Sets an attribute, using
| |
| set | back to summary |
|---|---|
| public B set(String key, Object value) Sets an attribute, using | |
| set | back to summary |
|---|---|
| public <T> B set(Class<T> key, T value) Sets an attribute, using
| |
| setProviderName | back to summary |
|---|---|
| public B setProviderName(String provider) Sets the provider.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |