CurrencyUnit. It
provides information such as
CurrencyUnit instances
CurrencyUnit instances should be valid, etc.
.CurrencyProviderSpi.
This class is immutable, serializable and thread-safe.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final String | KEY_QUERY_COUNTRIES
Key for storing a countries to be queried. |
| pack-priv static final String | KEY_QUERY_CURRENCY_CODES
Key for storing a target literal currency codes to be queried. |
| pack-priv static final String | KEY_QUERY_NUMERIC_CODES
Key for storing a target numeric currency codes to be queried. |
| private static final long |
| Access | Constructor and Description |
|---|---|
| pack-priv | CurrencyQuery(CurrencyQueryBuilder
the corresponding builder)javax.money.CurrencyQueryBuilder, not null.Constructor, used from the Builder. |
| Modifier and Type | Method and Description |
|---|---|
| public Collection | |
| public Collection | Returns: the target currency codes or the regular expression, never null.Gets the currency codes, or the regular expression to select codes. |
| public Collection | |
| public CurrencyQueryBuilder | Returns: a newMonetaryAmountFactoryQueryBuilder instance, never null.Creates a new builder instances, initialized with the data from this one. |
| KEY_QUERY_COUNTRIES | back to summary |
|---|---|
| pack-priv static final String KEY_QUERY_COUNTRIES Key for storing a countries to be queried. | |
| KEY_QUERY_CURRENCY_CODES | back to summary |
|---|---|
| pack-priv static final String KEY_QUERY_CURRENCY_CODES Key for storing a target literal currency codes to be queried. | |
| KEY_QUERY_NUMERIC_CODES | back to summary |
|---|---|
| pack-priv static final String KEY_QUERY_NUMERIC_CODES Key for storing a target numeric currency codes to be queried. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| CurrencyQuery | back to summary |
|---|---|
| pack-priv CurrencyQuery(CurrencyQueryBuilder builder) Constructor, used from the Builder.
| |
| getCountries | back to summary |
|---|---|
| public Collection Returns the target locales.
| |
| getCurrencyCodes | back to summary |
|---|---|
| public Collection Gets the currency codes, or the regular expression to select codes.
| |
| getNumericCodes | back to summary |
|---|---|
| public Collection Gets the numeric codes. Setting it to -1 search for currencies that have no numeric code.
| |
| toBuilder | back to summary |
|---|---|
| public CurrencyQueryBuilder toBuilder() Creates a new builder instances, initialized with the data from this one.
| |