public final class CurrencyContext extends AbstractContext implements Serializable
CurrencyUnit
instances. It
provides information about
Instances of this class must be created using the CurrencyContextBuilder
. Typically the
contexts are created and assigned by the classes that implement the CurrencyProviderSpi
.
The according implementation classes should document, which attributes are available.
This class is immutable, serializable and thread-safe.
KEY_PROVIDER
Modifier and Type | Method and Description |
---|---|
CurrencyContextBuilder |
toBuilder()
Allows to convert a instance into the corresponding
CurrencyContextBuilder , which allows
to change the values and of another CurrencyContext instance. |
public CurrencyContextBuilder toBuilder()
CurrencyContextBuilder
, which allows
to change the values and of another CurrencyContext
instance.Copyright © 2012–2016 JSR 354 - Expert Group. All rights reserved.