Index

A B C D E F G H I J K L M N O P Q R S T U V W 
All Classes All Packages

A

abs() - Method in interface javax.money.MonetaryAmount
Returns a MonetaryAmount whose value is the absolute value of this MonetaryAmount, and whose scale is this.getContext().getMaxScale().
AbstractContext - Class in javax.money
Represents a general context of data targeting an item of type Q.
AbstractContext(AbstractContextBuilder<?, ?>) - Constructor for class javax.money.AbstractContext
Private constructor, used by AbstractContextBuilder.
AbstractContextBuilder<B extends AbstractContextBuilder,​C extends AbstractContext> - Class in javax.money
This interface defines the common generic parts of a query.
AbstractContextBuilder() - Constructor for class javax.money.AbstractContextBuilder
 
AbstractQuery - Class in javax.money
Represents a general context of data targeting an item of type Q.
AbstractQuery(AbstractQueryBuilder) - Constructor for class javax.money.AbstractQuery
Constructor, using a builder.
AbstractQueryBuilder<B extends AbstractQueryBuilder,​C extends AbstractQuery> - Class in javax.money
This abstract class defines the common generic parts of a query.
AbstractQueryBuilder() - Constructor for class javax.money.AbstractQueryBuilder
Initializes the query builder, as a default query builder.
add(MonetaryAmount) - Method in interface javax.money.MonetaryAmount
Returns a MonetaryAmount whose value is this + augend, and whose scale is max(this.getContext().getMaxScale(), augend.getContext().getMaxScale()).
ALWAYS - javax.money.spi.MonetaryAmountFactoryProviderSpi.QueryInclusionPolicy
Always include this factory (and the corresponding amount type) within queries.
AmountFormatContext - Class in javax.money.format
The AmountFormatContext provides details about a MonetaryAmountFormat.
AmountFormatContextBuilder - Class in javax.money.format
Builder class for creating new instances of AmountFormatContext adding detailed information about a MonetaryAmountFormat instance.
AmountFormatQuery - Class in javax.money.format
Query for accessing instances of MonetaryAmountFormat.
AmountFormatQueryBuilder - Class in javax.money.format
Builder for queries for accessing/configuring MonetaryAmountFormat instances.
ANY - javax.money.convert.RateType
Any type of rates.
ANY_CONVERSION - Static variable in class javax.money.convert.ConversionContext
ConversionContext that queries any conversion available.
apply(MonetaryAmount) - Method in interface javax.money.MonetaryOperator
Applies the operator on the given amount.

B

Bootstrap - Class in javax.money.spi
This singleton provides access to the services available in the current runtime environment and context.
build() - Method in class javax.money.AbstractContextBuilder
Creates a new AbstractContext with the data from this Builder instance.
build() - Method in class javax.money.AbstractQueryBuilder
Creates a new AbstractQuery with the data from this Builder instance.
build() - Method in class javax.money.convert.ConversionContextBuilder
Creates a new ConversionContext with the data from this Builder instance.
build() - Method in class javax.money.convert.ConversionQueryBuilder
Creates a new instance of ConversionQuery.
build() - Method in class javax.money.convert.ProviderContextBuilder
Creates a new ProviderContext with the data from this Builder instance.
build() - Method in class javax.money.CurrencyContextBuilder
Creates a new instance of CurrencyContext.
build() - Method in class javax.money.CurrencyQueryBuilder
Creates a new instance of CurrencyQuery.
build() - Method in class javax.money.format.AmountFormatContextBuilder
Creates a new instance of AmountFormatContext that configures a .MonetaryAmountFormat.
build() - Method in class javax.money.format.AmountFormatQueryBuilder
Creates a new AmountFormatQuery instance.
build() - Method in class javax.money.MonetaryAmountFactoryQueryBuilder
Creates a new instance of MonetaryAmountFactoryQuery based on the values of this Builder.
build() - Method in class javax.money.MonetaryContextBuilder
Creates a new instance of MonetaryAmountFactoryQuery.
build() - Method in class javax.money.RoundingContextBuilder
Creates a new instance of RoundingContext.
build() - Method in class javax.money.RoundingQueryBuilder
Creates a new instance of RoundingQuery.

C

compareTo(NumberValue) - Method in class javax.money.NumberValue
 
ConversionContext - Class in javax.money.convert
This class models a context for which a ExchangeRate is valid.
ConversionContextBuilder - Class in javax.money.convert
Builder class to of ConversionContext instances.
ConversionContextBuilder() - Constructor for class javax.money.convert.ConversionContextBuilder
Create a new Builder instance without any provider, e.g.
ConversionQuery - Class in javax.money.convert
Query for accessing CurrencyConversion instances.
ConversionQueryBuilder - Class in javax.money.convert
Builder class for creating new instances of ConversionQuery adding detailed information about a CurrencyConversion instance.
create() - Method in interface javax.money.MonetaryAmountFactory
Creates a new instance of MonetaryAmount, using the current data set on this factory.
create(ProviderContext) - Static method in class javax.money.convert.ProviderContextBuilder
Create a new ProviderContextBuilder, hereby using the given ProviderContext 's values as defaults.
create(ProviderContext, RateType) - Static method in class javax.money.convert.ConversionContextBuilder
Create a new Builder, hereby using the given ConversionContext's values as defaults.
create(AmountFormatQuery) - Static method in class javax.money.format.AmountFormatContextBuilder
createMonetaryAmountFactory() - Method in interface javax.money.spi.MonetaryAmountFactoryProviderSpi
Access a MonetaryAmountFactory given the required context.
createRoundingQueryBuilder() - Method in class javax.money.DefaultMonetaryRoundingsSingletonSpi
Creates an rounding instance using RoundingMode.UP rounding.
CurrencyContext - Class in javax.money
This class models the attributable context of CurrencyUnit instances.
CurrencyContextBuilder - Class in javax.money
Builder class for creating new instances of CurrencyContext adding detailed information about a CurrencyUnit instance.
CurrencyConversion - Interface in javax.money.convert
This interface defines a CurrencyConversion that is converting a MonetaryAmount to another MonetaryAmount with a different target CurrencyUnit.
CurrencyConversionException - Exception in javax.money.convert
Exception thrown when a monetary conversion operation fails.
CurrencyConversionException(CurrencyUnit, CurrencyUnit, ConversionContext) - Constructor for exception javax.money.convert.CurrencyConversionException
Constructs an CurrencyConversionException with the specified source and target currency.
CurrencyConversionException(CurrencyUnit, CurrencyUnit, ConversionContext, String) - Constructor for exception javax.money.convert.CurrencyConversionException
Constructs an CurrencyConversionException with the specified detail message, timestamp, source and target currency.
CurrencyConversionException(CurrencyUnit, CurrencyUnit, ConversionContext, String, Throwable) - Constructor for exception javax.money.convert.CurrencyConversionException
Constructs a new exception with the specified source and target currency, detail message and cause.
CurrencyProviderSpi - Interface in javax.money.spi
SPI (core) to be registered using the Bootstrap, which allows to register/provide additional currencies into the system automatically on startup.
CurrencyQuery - Class in javax.money
This class models a query for accessing instances of CurrencyUnit.
CurrencyQueryBuilder - Class in javax.money
Builder for queries for accessing CurrencyUnit instances.
CurrencySupplier - Interface in javax.money
Represents a supplier of CurrencyUnit-valued results.
CurrencyUnit - Interface in javax.money
A unit of currency.

D

DefaultMonetaryFormatsSingletonSpi() - Constructor for class javax.money.format.MonetaryFormats.DefaultMonetaryFormatsSingletonSpi
 
DefaultMonetaryRoundingsSingletonSpi - Class in javax.money
This class models the accessor for rounding instances, modeled as MonetaryOperator.
DefaultMonetaryRoundingsSingletonSpi() - Constructor for class javax.money.DefaultMonetaryRoundingsSingletonSpi
 
DEFERRED - javax.money.convert.RateType
Deferred rates are basically also current rates, but have some fixed delay, e.g.
DEFERRED_CONVERSION - Static variable in class javax.money.convert.ConversionContext
ConversionContext querying for any deferred rates.
DIRECT_REFERENCE_ONLY - javax.money.spi.MonetaryAmountFactoryProviderSpi.QueryInclusionPolicy
Only consider this factory, when the implementation type is specified explicitly in the MonetaryContext required.
divide(double) - Method in interface javax.money.MonetaryAmount
Returns a MonetaryAmount whose value is this / divisor, and whose preferred scale is this.getContext().getMaxScale() - divisor.getContext().getMaxScale(); if the exact quotient cannot be represented an ArithmeticException is thrown.
divide(long) - Method in interface javax.money.MonetaryAmount
Returns a MonetaryAmount whose value is this / divisor, and whose preferred scale is this.getContext().getMaxScale() - divisor.getContext().getMaxScale(); if the exact quotient cannot be represented an ArithmeticException is thrown.
divide(Number) - Method in interface javax.money.MonetaryAmount
Returns a MonetaryAmount whose value is this / divisor, and whose preferred scale is this.getContext().getMaxScale() - divisor.getContext().getMaxScale(); if the exact quotient cannot be represented an ArithmeticException is thrown.
divideAndRemainder(double) - Method in interface javax.money.MonetaryAmount
Returns a two-element MonetaryAmount array containing the result of divideToIntegralValue followed by the result of remainder on the two operands.
divideAndRemainder(long) - Method in interface javax.money.MonetaryAmount
Returns a two-element MonetaryAmount array containing the result of divideToIntegralValue followed by the result of remainder on the two operands.
divideAndRemainder(Number) - Method in interface javax.money.MonetaryAmount
Returns a two-element MonetaryAmount array containing the result of divideToIntegralValue followed by the result of remainder on the two operands.
divideToIntegralValue(double) - Method in interface javax.money.MonetaryAmount
Returns a MonetaryAmount whose value is the integer part of the quotient this / divisor rounded down.
divideToIntegralValue(long) - Method in interface javax.money.MonetaryAmount
Returns a MonetaryAmount whose value is the integer part of the quotient this / divisor rounded down.
divideToIntegralValue(Number) - Method in interface javax.money.MonetaryAmount
Returns a MonetaryAmount whose value is the integer part of the quotient this / divisor rounded down.
doubleValueExact() - Method in class javax.money.NumberValue
Access the numeric value as double.

E

equals(Object) - Method in class javax.money.AbstractContext
 
ExchangeRate - Interface in javax.money.convert
This class models an exchange rate, which defines the factor the numeric value of a base amount in some currency 'A' must be multiplied to get the corresponding amount in the terminating currency 'B'.
ExchangeRateProvider - Interface in javax.money.convert
This interface defines access to the exchange rates provided by a provider.
ExchangeRateProviderSupplier - Interface in javax.money.convert
A supplier of ExchangeRateProvider name that references an implementation.

F

format(MonetaryAmount) - Method in interface javax.money.format.MonetaryAmountFormat
Formats the given MonetaryAmount to a String.
from(ProviderContext, RateType) - Static method in class javax.money.convert.ConversionContext
Creates a new ConversionContext for the given ProviderContext and the given RateType.
from(MonetaryAmountFactoryQuery, Class<? extends MonetaryAmount>) - Static method in class javax.money.MonetaryContext
This method allows to easily of a new MonetaryContext instance from a given .MonetaryAmountFactoryQuery.
from(MonetaryContext, Class<? extends MonetaryAmount>) - Static method in class javax.money.MonetaryContext
Creates a new MonetaryContext).

G

get() - Method in interface javax.money.convert.ExchangeRateProviderSupplier
Get the provider name.
get(Class<T>) - Method in class javax.money.AbstractContext
Access an attribute, hereby using the class name as key.
get(String, Class<T>) - Method in class javax.money.AbstractContext
Access an attribute.
getAmountFactories() - Static method in class javax.money.Monetary
Access all currently available MonetaryAmount implementation classes that are accessible from this MonetaryAmount singleton.
getAmountFactories() - Method in interface javax.money.spi.MonetaryAmountsSingletonSpi
Get the currently registered MonetaryAmount implementation classes.
getAmountFactories(MonetaryAmountFactoryQuery) - Static method in class javax.money.Monetary
Returns all factory instances that match the query.
getAmountFactories(MonetaryAmountFactoryQuery) - Method in interface javax.money.spi.MonetaryAmountsSingletonQuerySpi
Get the MonetaryAmountFactory implementation class, that best matches to cover the given MonetaryContext.
getAmountFactory(Class<T>) - Static method in class javax.money.Monetary
Access an MonetaryAmountFactory for the given MonetaryAmount implementation type.
getAmountFactory(Class<T>) - Method in interface javax.money.spi.MonetaryAmountsSingletonSpi
Access the MonetaryAmountFactory for the given amountType .
getAmountFactory(MonetaryAmountFactoryQuery) - Static method in class javax.money.Monetary
Executes the query and returns the factory found, if there is only one factory.
getAmountFactory(MonetaryAmountFactoryQuery) - Method in interface javax.money.spi.MonetaryAmountsSingletonQuerySpi
Executes the query and returns the MonetaryAmountFactory implementation type found, if there is only one type.
getAmountFormat(String, String...) - Static method in class javax.money.format.MonetaryFormats
Access the a MonetaryAmountFormat given its styleId.
getAmountFormat(String, String...) - Method in interface javax.money.spi.MonetaryFormatsSingletonSpi
Access the default MonetaryAmountFormat given a Locale.
getAmountFormat(Locale, String...) - Static method in class javax.money.format.MonetaryFormats
Access the default MonetaryAmountFormat given a Locale.
getAmountFormat(Locale, String...) - Method in interface javax.money.spi.MonetaryFormatsSingletonSpi
Access the default MonetaryAmountFormat given a Locale.
getAmountFormat(AmountFormatQuery) - Static method in class javax.money.format.MonetaryFormats
Access the default MonetaryAmountFormat given a Locale.
getAmountFormat(AmountFormatQuery) - Method in interface javax.money.spi.MonetaryFormatsSingletonSpi
getAmountFormats(AmountFormatQuery) - Method in class javax.money.format.MonetaryFormats.DefaultMonetaryFormatsSingletonSpi
getAmountFormats(AmountFormatQuery) - Static method in class javax.money.format.MonetaryFormats
Access all MonetaryAmountFormat instances that match the given a AmountFormatQuery.
getAmountFormats(AmountFormatQuery) - Method in interface javax.money.spi.MonetaryAmountFormatProviderSpi
Create a new MonetaryAmountFormat for the given input.
getAmountFormats(AmountFormatQuery) - Method in interface javax.money.spi.MonetaryFormatsSingletonSpi
Access all MonetaryAmountFormat instances matching the given .AmountFormatQuery.
getAmountFractionDenominator() - Method in class javax.money.NumberValue
This method allows to extract the denominator part of the current fraction, hereby given
getAmountFractionNumerator() - Method in class javax.money.NumberValue
This method allows to extract the numerator part of the current fraction, hereby given
getAmountType() - Method in interface javax.money.MonetaryAmountFactory
Access the MonetaryAmount implementation type.
getAmountType() - Method in class javax.money.MonetaryContext
Get the MonetaryAmount implementation class.
getAmountType() - Method in interface javax.money.spi.MonetaryAmountFactoryProviderSpi
Get the concrete amount type created by MonetaryAmountFactory instances provided.
getAmountType(MonetaryAmountFactoryQuery) - Method in interface javax.money.spi.MonetaryAmountsSingletonQuerySpi
Executes the query and returns the MonetaryAmount implementation type found, if there is only one type.
getAmountTypes() - Static method in class javax.money.Monetary
Access all currently available MonetaryAmount implementation classes that are accessible from this MonetaryAmount singleton.
getAmountTypes() - Method in interface javax.money.spi.MonetaryAmountsSingletonSpi
Get the currently registered MonetaryAmount implementation types.
getAmountTypes(MonetaryAmountFactoryQuery) - Method in interface javax.money.spi.MonetaryAmountsSingletonQuerySpi
Executes the query and returns the MonetaryAmount implementation types found.
getAvailableFormatNames() - Method in interface javax.money.spi.MonetaryAmountFormatProviderSpi
Gets a list with available format names for this format provider.
getAvailableLocales() - Method in interface javax.money.spi.MonetaryAmountFormatProviderSpi
Gets a list with available locales for this format provider.
getAvailableLocales(String...) - Method in class javax.money.format.MonetaryFormats.DefaultMonetaryFormatsSingletonSpi
Get all available locales.
getAvailableLocales(String...) - Static method in class javax.money.format.MonetaryFormats
Get all available locales.
getAvailableLocales(String...) - Method in interface javax.money.spi.MonetaryFormatsSingletonSpi
Get all available locales.
getBaseCurrency() - Method in class javax.money.convert.ConversionQuery
Get the base currency.
getBaseCurrency() - Method in exception javax.money.convert.CurrencyConversionException
Gets the first currency at fault.
getBaseCurrency() - Method in interface javax.money.convert.ExchangeRate
Get the base (source) CurrencyUnit.
getBoolean(String) - Method in class javax.money.AbstractContext
Access a Boolean attribute.
getContext() - Method in interface javax.money.convert.CurrencyConversion
Access the target ConversionContext of this conversion instance.
getContext() - Method in interface javax.money.convert.ExchangeRate
getContext() - Method in interface javax.money.convert.ExchangeRateProvider
getContext() - Method in interface javax.money.CurrencyUnit
Returns the CurrencyContext of a currency.
getContext() - Method in interface javax.money.format.MonetaryAmountFormat
The AmountFormatContext to be applied when a MonetaryAmount is formatted.
getContext() - Method in interface javax.money.MonetaryAmount
Returns the MonetaryContext of this MonetaryAmount.
getConversion(String, String...) - Static method in class javax.money.convert.MonetaryConversions
Access an instance of CurrencyConversion for the given providers.
getConversion(ConversionQuery) - Static method in class javax.money.convert.MonetaryConversions
Access an instance of CurrencyConversion for the given providers.
getConversion(ConversionQuery) - Method in interface javax.money.spi.MonetaryConversionsSingletonSpi
Access an instance of CurrencyConversion.
getConversion(CurrencyUnit, String...) - Static method in class javax.money.convert.MonetaryConversions
Access an instance of CurrencyConversion for the given providers.
getConversion(CurrencyUnit, String...) - Method in interface javax.money.spi.MonetaryConversionsSingletonSpi
Access an instance of CurrencyConversion.
getConversionContext() - Method in exception javax.money.convert.CurrencyConversionException
Gets the queried timestamp at fault.
getConversionProviderNames() - Static method in class javax.money.convert.MonetaryConversions
Return the (non localized) names of all providers available in the current context.
getCountries() - Method in class javax.money.CurrencyQuery
Returns the target locales.
getCurrencies(String...) - Static method in class javax.money.Monetary
Access all currencies known.
getCurrencies(String...) - Method in interface javax.money.spi.MonetaryCurrenciesSingletonSpi
Provide access to all currently known currencies.
getCurrencies(Locale, String...) - Static method in class javax.money.Monetary
Access a new instance based on the Locale.
getCurrencies(Locale, String...) - Method in interface javax.money.spi.MonetaryCurrenciesSingletonSpi
Provide access to all currently known currencies.
getCurrencies(CurrencyQuery) - Static method in class javax.money.Monetary
Query all currencies matching the given query.
getCurrencies(CurrencyQuery) - Method in interface javax.money.spi.CurrencyProviderSpi
Return a CurrencyUnit instances matching the given CurrencyContext.
getCurrencies(CurrencyQuery) - Method in interface javax.money.spi.MonetaryCurrenciesSingletonSpi
Access all currencies matching the given query.
getCurrency() - Method in class javax.money.convert.ConversionQuery
Get the terminating currency.
getCurrency() - Method in interface javax.money.convert.ExchangeRate
Get the term (target) CurrencyUnit.
getCurrency() - Method in interface javax.money.CurrencySupplier
Gets the corresponding CurrencyUnit.
getCurrency() - Method in class javax.money.RoundingContext
Get the basic CurrencyUnit, which is based for this rounding type.
getCurrency() - Method in class javax.money.RoundingQuery
Sets the target CurrencyUnit.
getCurrency(String, String...) - Static method in class javax.money.Monetary
Access a new instance based on the currency code.
getCurrency(String, String...) - Method in interface javax.money.spi.MonetaryCurrenciesSingletonSpi
Access a new instance based on the currency code.
getCurrency(Locale, String...) - Static method in class javax.money.Monetary
Access a new instance based on the Locale.
getCurrency(Locale, String...) - Method in interface javax.money.spi.MonetaryCurrenciesSingletonSpi
Access a new instance based on the currency code.
getCurrency(CurrencyQuery) - Static method in class javax.money.Monetary
Query all currencies matching the given query.
getCurrency(CurrencyQuery) - Method in interface javax.money.spi.MonetaryCurrenciesSingletonSpi
Access a single currency by query.
getCurrencyCode() - Method in interface javax.money.CurrencyUnit
Gets the unique currency code, the effective code depends on the currency.
getCurrencyCode() - Method in exception javax.money.UnknownCurrencyException
Access the invalid currency code.
getCurrencyCodes() - Method in class javax.money.CurrencyQuery
Gets the currency codes, or the regular expression to select codes.
getCurrencyConversion(String) - Method in interface javax.money.convert.ExchangeRateProvider
Access a CurrencyConversion that can be applied as a MonetaryOperator to an amount.
getCurrencyConversion(ConversionQuery) - Method in interface javax.money.convert.ExchangeRateProvider
Access a CurrencyConversion that can be applied as a MonetaryOperator to an amount.
getCurrencyConversion(CurrencyUnit) - Method in interface javax.money.convert.ExchangeRateProvider
Access a CurrencyConversion that can be applied as a MonetaryOperator to an amount.
getCurrencyProviderNames() - Static method in class javax.money.Monetary
Query all currencies matching the given query.
getDefaultAmountFactory() - Static method in class javax.money.Monetary
getDefaultAmountFactory() - Method in interface javax.money.spi.MonetaryAmountsSingletonSpi
Access the default MonetaryAmountFactory.
getDefaultAmountType() - Static method in class javax.money.Monetary
Access the default MonetaryAmount implementation class that is accessible from this MonetaryAmount singleton.
getDefaultAmountType() - Method in interface javax.money.spi.MonetaryAmountsSingletonSpi
Access the default MonetaryAmount implementation type.
getDefaultConversionProviderChain() - Static method in class javax.money.convert.MonetaryConversions
Get the default provider used.
getDefaultCurrencyProviderChain() - Static method in class javax.money.Monetary
Query the list and ordering of provider names modelling the default provider chain to be used, if no provider chain was explicitly set..
getDefaultFormatProviderChain() - Static method in class javax.money.format.MonetaryFormats
Get the default provider chain, identified by the unique provider names in order as evaluated and used.
getDefaultFractionDigits() - Method in interface javax.money.CurrencyUnit
Gets the number of fractional digits typically used by this currency.
getDefaultMonetaryContext() - Method in interface javax.money.MonetaryAmountFactory
Returns the default MonetaryContext used, when no MonetaryContext is provided.
getDefaultMonetaryContext() - Method in interface javax.money.spi.MonetaryAmountFactoryProviderSpi
Returns the default MonetaryContext used, when no MonetaryContext is provided.
getDefaultProviderChain() - Method in class javax.money.DefaultMonetaryRoundingsSingletonSpi
Get the default providers list to be used.
getDefaultProviderChain() - Method in class javax.money.format.MonetaryFormats.DefaultMonetaryFormatsSingletonSpi
This default implementation simply returns all providers defined in arbitrary order.
getDefaultProviderChain() - Method in interface javax.money.spi.MonetaryConversionsSingletonSpi
Get the default provider chain used.
getDefaultProviderChain() - Method in interface javax.money.spi.MonetaryCurrenciesSingletonSpi
Access a list of the currently registered default providers.
getDefaultProviderChain() - Method in interface javax.money.spi.MonetaryFormatsSingletonSpi
Get the default provider chain, identified by the unique provider names in order as evaluated and used.
getDefaultProviderChain() - Method in interface javax.money.spi.MonetaryRoundingsSingletonSpi
Access a list of the currently registered default providers.
getDefaultRounding() - Method in class javax.money.DefaultMonetaryRoundingsSingletonSpi
Get the default rounding, which delegates rounding dynamically depending on the current currency.
getDefaultRounding() - Static method in class javax.money.Monetary
Creates a rounding that can be added as MonetaryOperator to chained calculations.
getDefaultRounding() - Method in interface javax.money.spi.MonetaryRoundingsSingletonSpi
Creates a MonetaryRounding that can be added as MonetaryOperator to chained calculations.
getDefaultRoundingProviderChain() - Static method in class javax.money.Monetary
Allows to access the default providers chain used if no provider chain was passed explicitly..
getDouble(String) - Method in class javax.money.AbstractContext
Access a Double attribute.
getErrorIndex() - Method in exception javax.money.format.MonetaryParseException
Returns the index where the error was found.
getExchangeRate(String, String) - Method in interface javax.money.convert.ExchangeRateProvider
Access a ExchangeRate using the given currencies.
getExchangeRate(ConversionQuery) - Method in interface javax.money.convert.ExchangeRateProvider
Access a ExchangeRate using the given currencies.
getExchangeRate(CurrencyUnit, CurrencyUnit) - Method in interface javax.money.convert.ExchangeRateProvider
Access a ExchangeRate using the given currencies.
getExchangeRate(MonetaryAmount) - Method in interface javax.money.convert.CurrencyConversion
Get the ExchangeRate applied for the given MonetaryAmount .
getExchangeRateChain() - Method in interface javax.money.convert.ExchangeRate
Access the chain of exchange rates.
getExchangeRateProvider() - Method in interface javax.money.convert.CurrencyConversion
Access the underlying ExchangeRateProvider.
getExchangeRateProvider(String...) - Static method in class javax.money.convert.MonetaryConversions
Access an instance of CurrencyConversion using the given providers as a provider chain.
getExchangeRateProvider(String...) - Method in interface javax.money.spi.MonetaryConversionsSingletonSpi
Access a compound instance of an ExchangeRateProvider based on the given provider chain.
getExchangeRateProvider(ConversionQuery) - Static method in class javax.money.convert.MonetaryConversions
Access an instance of CurrencyConversion using the given providers as a provider chain.
getExchangeRateProvider(ConversionQuery) - Method in interface javax.money.spi.MonetaryConversionsSingletonSpi
Access an instance of ExchangeRateProvider.
getExchangeRateProvider(ExchangeRateProviderSupplier, ExchangeRateProviderSupplier...) - Static method in class javax.money.convert.MonetaryConversions
Access an instance of CurrencyConversion using the ExchangeRateProviderSupplier.
getExchangeRateProviders(String...) - Method in interface javax.money.spi.MonetaryConversionsSingletonSpi
Access the current registered ExchangeRateProvider instances.
getFactor() - Method in interface javax.money.convert.ExchangeRate
Access the rate's bid factor.
getFactory() - Method in interface javax.money.MonetaryAmount
Creates a new MonetaryAmountFactory, returning the same implementation type Hereby this given amount is used as a template, so reusing the CurrencyUnit, its numeric value, the algorithmic implementation as well as the current MonetaryContext.
getFloat(String) - Method in class javax.money.AbstractContext
Access a Float attribute.
getFormatName() - Method in class javax.money.format.AmountFormatContext
Access the style's Locale.
getFormatName() - Method in class javax.money.format.AmountFormatQuery
Gets a style's id.
getFormatProviderNames() - Static method in class javax.money.format.MonetaryFormats
Get the names of the currently registered format providers.
getInput() - Method in exception javax.money.format.MonetaryParseException
Returns the string that was being parsed.
getInt(String) - Method in class javax.money.AbstractContext
Access an Integer attribute.
getKeys(Class<?>) - Method in class javax.money.AbstractContext
Get the present keys of all entries with a given type, checking hereby if assignable.
getLocale() - Method in class javax.money.format.AmountFormatContext
Access the context's Locale.
getLocale() - Method in class javax.money.format.AmountFormatQuery
Gets a Locale to be applied.
getLocale() - Method in exception javax.money.UnknownCurrencyException
Access the invalid Locale.
getLong(String) - Method in class javax.money.AbstractContext
Access a Long attribute.
getMaximalMonetaryContext() - Method in interface javax.money.MonetaryAmountFactory
Returns the maximal MonetaryContext supported, for requests that exceed these maximal capabilities, an ArithmeticException must be thrown.
getMaximalMonetaryContext() - Method in interface javax.money.spi.MonetaryAmountFactoryProviderSpi
Returns the maximal MonetaryContext supported, for requests that exceed these maximal capabilities, an ArithmeticException must be thrown.
getMaxNumber() - Method in interface javax.money.MonetaryAmountFactory
Get the maximum possible number that this type can represent.
getMaxScale() - Method in class javax.money.MonetaryAmountFactoryQuery
Get the maximal scale to be supported.
getMaxScale() - Method in class javax.money.MonetaryContext
Get the maximal scale supported, always >= -1.
getMinNumber() - Method in interface javax.money.MonetaryAmountFactory
Get the minimum possible number that this type can represent.
getMonetaryAmountFactory() - Method in class javax.money.format.AmountFormatQuery
Gets the MonetaryAmountFactoryQuery to be used for accessing .MonetaryAmountFactory, when amount's are parsed.
getNumber() - Method in interface javax.money.NumberSupplier
Gets the corresponding NumberValue.
getNumberType() - Method in class javax.money.NumberValue
Get the numeric implementation type, that is the base of this number.
getNumericCode() - Method in interface javax.money.CurrencyUnit
Gets a numeric currency code.
getNumericCodes() - Method in class javax.money.CurrencyQuery
Gets the numeric codes.
getParseFactory() - Method in class javax.money.format.AmountFormatContext
Access the format's MonetaryAmountFactory that is used to of new amounts during parsing.
getPrecision() - Method in class javax.money.MonetaryAmountFactoryQuery
Get the maximal precision to be supported.
getPrecision() - Method in class javax.money.MonetaryContext
Returns the precision setting.
getPrecision() - Method in class javax.money.NumberValue
Returns the precision of this MonetaryAmount.
getPriority() - Method in interface javax.money.spi.ServiceProvider
This method allows to define a priority for a registered ServiceProvider instance.
getProviderName() - Method in class javax.money.AbstractContext
Get the provider name of this context.
getProviderName() - Method in class javax.money.convert.ConversionContext
Get the provider of this rate.
getProviderName() - Method in interface javax.money.spi.CurrencyProviderSpi
The unique name of this currency provider instance.
getProviderName() - Method in interface javax.money.spi.MonetaryAmountFormatProviderSpi
Access the provider's name.
getProviderName() - Method in interface javax.money.spi.RoundingProviderSpi
Get the provider's unique name.
getProviderNames() - Method in class javax.money.AbstractQuery
Returns the providers and their ordering to be considered.
getProviderNames() - Method in class javax.money.DefaultMonetaryRoundingsSingletonSpi
Get the names of all current registered providers.
getProviderNames() - Method in class javax.money.format.MonetaryFormats.DefaultMonetaryFormatsSingletonSpi
 
getProviderNames() - Method in interface javax.money.spi.MonetaryConversionsSingletonSpi
Get all currently registered provider names.
getProviderNames() - Method in interface javax.money.spi.MonetaryCurrenciesSingletonSpi
Access a list of the currently registered providers.
getProviderNames() - Method in interface javax.money.spi.MonetaryFormatsSingletonSpi
Get the names of the currently registered format providers.
getProviderNames() - Method in interface javax.money.spi.MonetaryRoundingsSingletonSpi
Allows to access the names of the current registered rounding providers.
getQueryInclusionPolicy() - Method in interface javax.money.spi.MonetaryAmountFactoryProviderSpi
Method that determines if this factory should be considered for general evaluation of matching MonetaryAmount implementation types when calling Monetary.getAmountFactory(javax.money.MonetaryAmountFactoryQuery).
getRateType() - Method in class javax.money.convert.ConversionContext
Get the deferred flag.
getRateTypes() - Method in class javax.money.convert.ConversionQuery
Get the rate types set.
getRateTypes() - Method in class javax.money.convert.ProviderContext
Get the deferred flag.
getReversed(ExchangeRate) - Method in interface javax.money.convert.ExchangeRateProvider
The method reverses the ExchangeRate to a rate mapping from term to base CurrencyUnit.
getRounding(String, String...) - Static method in class javax.money.Monetary
Access an MonetaryOperator for custom rounding MonetaryAmount instances.
getRounding(String, String...) - Method in interface javax.money.spi.MonetaryRoundingsSingletonSpi
Access a MonetaryRounding using the rounding name.
getRounding(CurrencyUnit, String...) - Static method in class javax.money.Monetary
Creates an MonetaryOperator for rounding MonetaryAmount instances given a currency.
getRounding(CurrencyUnit, String...) - Method in interface javax.money.spi.MonetaryRoundingsSingletonSpi
Access a MonetaryRounding for rounding MonetaryAmount instances given a currency.
getRounding(RoundingQuery) - Static method in class javax.money.Monetary
Access a MonetaryRounding using a possibly complex query.
getRounding(RoundingQuery) - Method in interface javax.money.spi.MonetaryRoundingsSingletonSpi
Query a specific rounding with the given query.
getRounding(RoundingQuery) - Method in interface javax.money.spi.RoundingProviderSpi
Evaluate the rounding that match the given query.
getRoundingContext() - Method in interface javax.money.MonetaryRounding
Access the rounding's context, which gives more details of the rounding instances such as The rounding's name (required) Its provider (required) Its base currency its scale and rounding mode any other attributes useful to describe the rounding
getRoundingName() - Method in class javax.money.RoundingContext
Get the (custom) rounding id.
getRoundingName() - Method in class javax.money.RoundingQuery
Gets the target rounding name.
getRoundingNames() - Method in interface javax.money.spi.RoundingProviderSpi
Access the ids of the roundings defined by this provider.
getRoundingNames(String...) - Method in class javax.money.DefaultMonetaryRoundingsSingletonSpi
Allows to access the identifiers of the current defined roundings.
getRoundingNames(String...) - Static method in class javax.money.Monetary
Allows to access the names of the current defined roundings.
getRoundingNames(String...) - Method in interface javax.money.spi.MonetaryRoundingsSingletonSpi
Allows to access the names of the current defined roundings.
getRoundingProviderNames() - Static method in class javax.money.Monetary
Allows to access the names of the current registered providers.
getRoundings(RoundingQuery) - Method in class javax.money.DefaultMonetaryRoundingsSingletonSpi
Query all roundings matching the given RoundingQuery.
getRoundings(RoundingQuery) - Static method in class javax.money.Monetary
Access multiple MonetaryRounding instances using a possibly complex query
getRoundings(RoundingQuery) - Method in interface javax.money.spi.MonetaryRoundingsSingletonSpi
Execute a query for MonetaryRounding.
getScale() - Method in class javax.money.NumberValue
Returns the scale of this MonetaryAmount.
getScale() - Method in class javax.money.RoundingQuery
Gets the target scale.
getService(Class<T>) - Static method in class javax.money.spi.Bootstrap
Delegate method for getServices(Class).
getService(Class<T>) - Method in interface javax.money.spi.ServiceProvider
Access a single service, given its type.
getServices(Class<T>) - Static method in class javax.money.spi.Bootstrap
Delegate method for getServices(Class).
getServices(Class<T>) - Method in interface javax.money.spi.ServiceProvider
Access a list of services, given its type.
getTargetType() - Method in class javax.money.AbstractQuery
Gets the target implementation type required.
getTermCurrency() - Method in exception javax.money.convert.CurrencyConversionException
Gets the second currency at fault.
getText(String) - Method in class javax.money.AbstractContext
Access a String attribute.
getType(String) - Method in class javax.money.AbstractContext
Get the current attribute type.

H

hashCode() - Method in class javax.money.AbstractContext
 
HISTORIC - javax.money.convert.RateType
Historic rates, e.g.
HISTORIC_CONVERSION - Static variable in class javax.money.convert.ConversionContext
ConversionContext querying for any historic rates.

I

importContext(AbstractContext) - Method in class javax.money.AbstractContextBuilder
Apply all attributes on the given context, hereby existing entries are preserved.
importContext(AbstractContext, boolean) - Method in class javax.money.AbstractContextBuilder
Apply all attributes on the given context.
init(ServiceProvider) - Static method in class javax.money.spi.Bootstrap
Replace the current ServiceProvider in use.
intValueExact() - Method in class javax.money.NumberValue
Access the numeric value as int.
isAvailable(String, String) - Method in interface javax.money.convert.ExchangeRateProvider
Checks if an ExchangeRate between two CurrencyUnit is available from this provider.
isAvailable(Locale, String...) - Static method in class javax.money.format.MonetaryFormats
Checks if a MonetaryAmountFormat is available for the given Locale and providers.
isAvailable(Locale, String...) - Method in interface javax.money.spi.MonetaryFormatsSingletonSpi
Checks if a MonetaryAmountFormat is available given a .AmountFormatQuery.
isAvailable(ConversionQuery) - Method in interface javax.money.convert.ExchangeRateProvider
Checks if an ExchangeRate between two CurrencyUnit is available from this provider.
isAvailable(CurrencyUnit, CurrencyUnit) - Method in interface javax.money.convert.ExchangeRateProvider
Checks if an ExchangeRate between two CurrencyUnit is available from this provider.
isAvailable(AmountFormatQuery) - Static method in class javax.money.format.MonetaryFormats
Checks if a MonetaryAmountFormat is available for the given AmountFormatQuery.
isAvailable(AmountFormatQuery) - Method in interface javax.money.spi.MonetaryFormatsSingletonSpi
Checks if a MonetaryAmountFormat is available given a .AmountFormatQuery.
isAvailable(MonetaryAmountFactoryQuery) - Static method in class javax.money.Monetary
Allows to check if any of the getXXX methods return non empty/non null results of .MonetaryAmountFactory.
isAvailable(MonetaryAmountFactoryQuery) - Method in interface javax.money.spi.MonetaryAmountsSingletonQuerySpi
Checks if an MonetaryAmountFactory is matching the given query.
isConversionAvailable(String, String...) - Static method in class javax.money.convert.MonetaryConversions
Checks if a CurrencyConversion is available for the given parameters.
isConversionAvailable(ConversionQuery) - Static method in class javax.money.convert.MonetaryConversions
Checks if a CurrencyConversion is available for the given parameters.
isConversionAvailable(ConversionQuery) - Method in interface javax.money.spi.MonetaryConversionsSingletonSpi
Allows to quickly check, if a CurrencyConversion is accessible for the given ConversionQuery.
isConversionAvailable(CurrencyUnit, String...) - Static method in class javax.money.convert.MonetaryConversions
Checks if a CurrencyConversion is available for the given parameters.
isConversionAvailable(CurrencyUnit, String...) - Method in interface javax.money.spi.MonetaryConversionsSingletonSpi
Allows to quickly check, if a CurrencyConversion is accessible for the given ConversionQuery.
isCurrencyAvailable(String, String...) - Static method in class javax.money.Monetary
Allows to check if a CurrencyUnit instance is defined, i.e.
isCurrencyAvailable(String, String...) - Method in interface javax.money.spi.MonetaryCurrenciesSingletonSpi
Allows to check if a CurrencyUnit instance is defined, i.e.
isCurrencyAvailable(Locale, String...) - Static method in class javax.money.Monetary
Allows to check if a CurrencyUnit instance is defined, i.e.
isCurrencyAvailable(Locale, String...) - Method in interface javax.money.spi.MonetaryCurrenciesSingletonSpi
Allows to check if a CurrencyUnit instance is defined, i.e.
isCurrencyAvailable(CurrencyQuery) - Method in interface javax.money.spi.CurrencyProviderSpi
Checks if a CurrencyUnit instances matching the given CurrencyContext is available from this provider.
isDerived() - Method in interface javax.money.convert.ExchangeRate
Allows to evaluate if this exchange rate is a derived exchange rate.
isEmpty() - Method in class javax.money.AbstractContext
Checks if the current instance has no attributes set.
isEqualTo(MonetaryAmount) - Method in interface javax.money.MonetaryAmount
Compares two instances of MonetaryAmount, hereby ignoring non significant trailing zeroes and different numeric capabilities.
isExchangeRateProviderAvailable(ConversionQuery) - Static method in class javax.money.convert.MonetaryConversions
Checks if a ExchangeRateProvider is available for the given parameters.
isExchangeRateProviderAvailable(ConversionQuery) - Method in interface javax.money.spi.MonetaryConversionsSingletonSpi
Allows to quickly check, if a ExchangeRateProvider is accessible for the given ConversionQuery.
isFixedScale() - Method in class javax.money.MonetaryAmountFactoryQuery
Get the fixed scale flag to be supported.
isFixedScale() - Method in class javax.money.MonetaryContext
Allows to check if minScale == maxScale.
isGreaterThan(MonetaryAmount) - Method in interface javax.money.MonetaryAmount
Compares two instances of MonetaryAmount, hereby ignoring non significant trailing zeroes and different numeric capabilities.
isGreaterThanOrEqualTo(MonetaryAmount) - Method in interface javax.money.MonetaryAmount
Compares two instances of MonetaryAmount, hereby ignoring non significant trailing zeroes and different numeric capabilities.
isLessThan(MonetaryAmount) - Method in interface javax.money.MonetaryAmount
Compares two instances of MonetaryAmount, hereby ignoring non significant trailing zeroes and different numeric capabilities.
isLessThanOrEqualTo(MonetaryAmount) - Method in interface javax.money.MonetaryAmount
Compares two instances of MonetaryAmount, hereby ignoring non significant trailing zeroes and different numeric capabilities.
isNegative() - Method in interface javax.money.MonetaryAmount
Checks if a MonetaryAmount is negative.
isNegativeOrZero() - Method in interface javax.money.MonetaryAmount
Checks if a MonetaryAmount is negative or zero.
isPositive() - Method in interface javax.money.MonetaryAmount
Checks if a MonetaryAmount is positive.
isPositiveOrZero() - Method in interface javax.money.MonetaryAmount
Checks if a MonetaryAmount is positive or zero.
isRoundingAvailable(String, String...) - Static method in class javax.money.Monetary
Checks if a MonetaryRounding is available given a roundingId.
isRoundingAvailable(String, String...) - Method in interface javax.money.spi.MonetaryRoundingsSingletonSpi
Checks if a MonetaryRounding is available given a roundingId.
isRoundingAvailable(CurrencyUnit, String...) - Static method in class javax.money.Monetary
Checks if a MonetaryRounding is available given a roundingId.
isRoundingAvailable(CurrencyUnit, String...) - Method in interface javax.money.spi.MonetaryRoundingsSingletonSpi
Checks if a MonetaryRounding is available given a CurrencyUnit.
isRoundingAvailable(RoundingQuery) - Static method in class javax.money.Monetary
Checks if a MonetaryRounding matching the query is available.
isRoundingAvailable(RoundingQuery) - Method in interface javax.money.spi.MonetaryRoundingsSingletonSpi
Checks if any MonetaryRounding is matching the given query.
isZero() - Method in interface javax.money.MonetaryAmount
Checks if an MonetaryAmount is zero.

J

java.money - module java.money
 
javax.money - package javax.money
Main package of the Money and Currency API.
javax.money.convert - package javax.money.convert
Defines the monetary currency conversion API.
javax.money.format - package javax.money.format
Money and Currency format API.
javax.money.spi - package javax.money.spi
SPI interfaces of the Money and Currency API, including bootstrap logic.

K

KEY_PROVIDER - Static variable in class javax.money.AbstractContext
Key for storing the target providers to be queried
KEY_QUERY_PROVIDERS - Static variable in class javax.money.AbstractQuery
Key for storing the target providers to be queried
KEY_QUERY_TARGET_TYPE - Static variable in class javax.money.AbstractQuery
Key name for the target type attribute.
KEY_QUERY_TIMESTAMP - Static variable in class javax.money.AbstractQuery
Key name for the timestamp attribute.

L

longValueExact() - Method in class javax.money.NumberValue
Access the numeric value as long.

M

Monetary - Class in javax.money
Factory singleton for CurrencyUnit, MonetaryAmount and MonetaryRounding instances as provided by the different registered SPI instances.
MonetaryAmount - Interface in javax.money
Interface defining a monetary amount.
MonetaryAmountFactory<T extends MonetaryAmount> - Interface in javax.money
Factory for MonetaryAmount instances for a given type.
MonetaryAmountFactoryProviderSpi<T extends MonetaryAmount> - Interface in javax.money.spi
SPI (core): Implementations of this interface are used by the MonetaryAmountsSingletonSpi to evaluate the correct MonetaryAmountFactory instances.
MonetaryAmountFactoryProviderSpi.QueryInclusionPolicy - Enum in javax.money.spi
Determines how the factory should be considered when querying for matching implementation types calling Monetary.getAmountFactory(javax.money.MonetaryAmountFactoryQuery) .
MonetaryAmountFactoryQuery - Class in javax.money
Query to lookup instances of MonetaryAmountFactory, which are determined by the (minimal) capabilities required by the give use case.
MonetaryAmountFactoryQueryBuilder - Class in javax.money
Builder class for creating new instances of MonetaryAmountFactoryQuery that can be passed to access MonetaryAmountFactory instances using a possible complex query.
MonetaryAmountFormat - Interface in javax.money.format
Formats instances of MonetaryAmount to a String or an Appendable.
MonetaryAmountFormatProviderSpi - Interface in javax.money.spi
SPI (formatting) providing MonetaryAmountFormat instances.
MonetaryAmountsSingletonQuerySpi - Interface in javax.money.spi
SPI (core) for the backing implementation of the Monetary singleton, implementing the query functionality for amounts.
MonetaryAmountsSingletonSpi - Interface in javax.money.spi
SPI (core) for the backing implementation of the Monetary singleton.
MonetaryContext - Class in javax.money
This class models the meta data (mostly the numeric capabilities) of a MonetaryAmount in a platform independent way.
MonetaryContextBuilder - Class in javax.money
Builder class for creating new instances of MonetaryContext adding detailed information about a MonetaryAmount instance.
MonetaryConversions - Class in javax.money.convert
This singleton defines access to the exchange and currency conversion logic of JavaMoney.
MonetaryConversionsSingletonSpi - Interface in javax.money.spi
SPI (conversion) that implements the functionality provided by the MonetaryConversions singleton accessor.
MonetaryCurrenciesSingletonSpi - Interface in javax.money.spi
Factory singleton backing interface for Monetary that provides access to different registered CurrencyProviderSpi instances.
MonetaryException - Exception in javax.money
Exception thrown when an error occurs during monetary operations.
MonetaryException(String) - Constructor for exception javax.money.MonetaryException
Creates an instance.
MonetaryException(String, Throwable) - Constructor for exception javax.money.MonetaryException
Creates an instance with the specified detail message and cause.
MonetaryFormats - Class in javax.money.format
This class models the singleton accessor for MonetaryAmountFormat instances.
MonetaryFormats.DefaultMonetaryFormatsSingletonSpi - Class in javax.money.format
This class models the singleton accessor for MonetaryAmountFormat instances.
MonetaryFormatsSingletonSpi - Interface in javax.money.spi
This interface models the singleton functionality of MonetaryFormats.
MonetaryOperator - Interface in javax.money
Represents an operation on a single MonetaryAmount that produces a result of type MonetaryAmount.
MonetaryParseException - Exception in javax.money.format
Signals that an error has been reached unexpectedly while parsing.
MonetaryParseException(CharSequence, int) - Constructor for exception javax.money.format.MonetaryParseException
Constructs a MonetaryParseException with the parsed text and offset.
MonetaryParseException(String, CharSequence, int) - Constructor for exception javax.money.format.MonetaryParseException
Constructs a MonetaryParseException with the specified detail message, parsed text and index.
MonetaryQuery<R> - Interface in javax.money
Strategy for querying a monetary amount.
MonetaryRounding - Interface in javax.money
Interface representing a monetary rounding.
MonetaryRoundingsSingletonSpi - Interface in javax.money.spi
This class models the accessor for rounding instances, modeled as MonetaryOperator.
multiply(double) - Method in interface javax.money.MonetaryAmount
Returns a MonetaryAmount whose value is (this × multiplicand), and whose scale is this.getContext().getMaxScale() + multiplicand.getContext().getMaxScale().
multiply(long) - Method in interface javax.money.MonetaryAmount
Returns a MonetaryAmount whose value is (this × multiplicand), and whose scale is this.getContext().getMaxScale() + multiplicand.getContext().getMaxScale().
multiply(Number) - Method in interface javax.money.MonetaryAmount
Returns a MonetaryAmount whose value is (this × multiplicand), and whose scale is this.getContext().getMaxScale() + multiplicand.getContext().getMaxScale().

N

negate() - Method in interface javax.money.MonetaryAmount
Returns a MonetaryAmount whose value is -this, and whose scale is this.getContext().getMaxScale(), with rounding according to the context settings.
NEVER - javax.money.spi.MonetaryAmountFactoryProviderSpi.QueryInclusionPolicy
Never consider this factory in a query for a matching MonetaryAmount implementation.
NumberSupplier - Interface in javax.money
Represents a supplier of NumberValue-valued results.
numberValue(Class<T>) - Method in class javax.money.NumberValue
Access the numeric value as Number.
NumberValue - Class in javax.money
Instances of this class allow to externalize the numeric value of a MonetaryAmount.
NumberValue() - Constructor for class javax.money.NumberValue
 
numberValueExact(Class<T>) - Method in class javax.money.NumberValue
Access the numeric value as Number.

O

of() - Static method in class javax.money.convert.ConversionContext
Simple factory method for ConversionContext.
of() - Static method in class javax.money.convert.ConversionContextBuilder
Creates a new ConversionContextBuilder instance.
of() - Static method in class javax.money.convert.ConversionQueryBuilder
Creates a new ConversionQueryBuilder instance.
of() - Static method in class javax.money.CurrencyQueryBuilder
Creates a new instance of CurrencyQueryBuilder.
of() - Static method in class javax.money.MonetaryAmountFactoryQueryBuilder
Creates a new instance of CurrencyQueryBuilder.
of() - Static method in class javax.money.MonetaryContextBuilder
Creates a new builder, hereby the target implementation type is required.
of() - Static method in class javax.money.RoundingQueryBuilder
 
of(Class<? extends MonetaryAmount>) - Static method in class javax.money.MonetaryContextBuilder
Creates a new builder, hereby the target implementation type is required.
of(String) - Static method in class javax.money.convert.ProviderContext
Creates a new ProviderContext based on the provider id and rate type(s).
of(String) - Static method in class javax.money.CurrencyContextBuilder
Creates a new builder.
of(String) - Static method in class javax.money.format.AmountFormatContextBuilder
of(String) - Static method in class javax.money.format.AmountFormatQueryBuilder
of(String, String) - Static method in class javax.money.RoundingContextBuilder
Creates a new RoundingContextBuilder.
of(String, Collection<RateType>) - Static method in class javax.money.convert.ProviderContextBuilder
Create a new ProviderContextBuilder instance.
of(String, RateType) - Static method in class javax.money.convert.ConversionContext
Simple factory method for ConversionContext.
of(String, RateType, RateType...) - Static method in class javax.money.convert.ProviderContext
Creates a new ProviderContext based on the provider id and rate type(s).
of(String, RateType, RateType...) - Static method in class javax.money.convert.ProviderContextBuilder
Create a new ProviderContextBuilder instance.
of(Locale) - Static method in class javax.money.format.AmountFormatContextBuilder
Creates a new default AmountFormatContextBuilder for a formatter based on the locale specific defaults.
of(Locale) - Static method in class javax.money.format.AmountFormatQueryBuilder
Creates a new default AmountFormatQueryBuilder for a formatter based on the locale specific defaults.
of(Locale, String...) - Static method in class javax.money.format.AmountFormatQuery
Creates a simple format query based on a single Locale, similar to (java.util.Locale).
of(ConversionContext) - Static method in class javax.money.convert.ConversionContextBuilder
Creates a new ConversionContextBuilder instance.
of(ConversionQuery) - Static method in class javax.money.convert.ConversionQueryBuilder
Creates a new ConversionQueryBuilder instance.
of(RateType) - Static method in class javax.money.convert.ConversionContext
Creates a ConversionContext for accessing rates of the given type, without specifying the rate's provider.
of(CurrencyContext) - Static method in class javax.money.CurrencyContextBuilder
Creates a new builder.
of(CurrencyQuery) - Static method in class javax.money.CurrencyQueryBuilder
Creates a new instance of CurrencyQueryBuilder.
of(AmountFormatContext) - Static method in class javax.money.format.AmountFormatContextBuilder
of(AmountFormatQuery) - Static method in class javax.money.format.AmountFormatQueryBuilder
Creates a new AmountFormatQueryBuilder and initializes it with the values from formatQuery.
of(MonetaryAmountFactoryQuery) - Static method in class javax.money.MonetaryAmountFactoryQueryBuilder
Creates a new instance of CurrencyQueryBuilder.
of(MonetaryContext) - Static method in class javax.money.MonetaryContextBuilder
Creates a new builder, using an existing MonetaryContext as a template.
of(RoundingContext) - Static method in class javax.money.RoundingContextBuilder
Creates a new RoundingContextBuilder.
of(RoundingQuery) - Static method in class javax.money.RoundingQueryBuilder
Creates a new RoundingQueryBuilder.
OTHER - javax.money.convert.RateType
Any other type of rates.
OTHER_CONVERSION - Static variable in class javax.money.convert.ConversionContext
ConversionContext querying for any other rates.

P

parse(CharSequence) - Method in interface javax.money.format.MonetaryAmountFormat
Fully parses the text into an instance of MonetaryAmount.
plus() - Method in interface javax.money.MonetaryAmount
Returns a MonetaryAmount whose value is +this.
print(Appendable, MonetaryAmount) - Method in interface javax.money.format.MonetaryAmountFormat
Formats the given MonetaryAmount to a Appendable.
ProviderContext - Class in javax.money.convert
This class describes what kind of ExchangeRates a .ExchangeRateProvider delivers, including the provider's name, rate type and additional data.
ProviderContextBuilder - Class in javax.money.convert
Builder class to of ProviderContext instances.

Q

query(MonetaryQuery<R>) - Method in interface javax.money.MonetaryAmount
Queries this monetary amount for a value.
queryFrom(MonetaryAmount) - Method in interface javax.money.MonetaryQuery
Queries the specified monetary amount.

R

RateType - Enum in javax.money.convert
This enumeration defines the different type of rates that can be provided by .ExchangeRateProvider implementations.
REALTIME - javax.money.convert.RateType
Real-time rates should be as adequate as possible, basically not more than a few milliseconds late.
REALTIME_CONVERSION - Static variable in class javax.money.convert.ConversionContext
ConversionContext querying for real-time rates.
remainder(double) - Method in interface javax.money.MonetaryAmount
Returns a MonetaryAmount whose value is this % divisor.
remainder(long) - Method in interface javax.money.MonetaryAmount
Returns a MonetaryAmount whose value is this % divisor.
remainder(Number) - Method in interface javax.money.MonetaryAmount
Returns a MonetaryAmount whose value is this % divisor.
removeAttributes(String...) - Method in class javax.money.AbstractContextBuilder
Removes an entry of a certain keys.
round(MathContext) - Method in class javax.money.NumberValue
Access the current NumberValue rounded using the given MathContext.
RoundingContext - Class in javax.money
This class models the spec/configuration for a rounding, modeled as MonetaryRounding in a platform independent way.
RoundingContextBuilder - Class in javax.money
Builder class for creating new instances of RoundingContext adding detailed information about a MonetaryRounding instance.
RoundingProviderSpi - Interface in javax.money.spi
This SPI allows to extends/override the roundings available for CurrencyUnit.
RoundingQuery - Class in javax.money
Query for accessing instances of MonetaryRounding.
RoundingQueryBuilder - Class in javax.money
Builder used to construct new instances of RoundingQuery}.

S

scaleByPowerOfTen(int) - Method in interface javax.money.MonetaryAmount
Returns a MonetaryAmount whose numerical value is equal to ( this * 10n).
ServiceProvider - Interface in javax.money.spi
This class models the component that is managing the lifecycle of the monetary services used by the Money and Currency API.
set(Class<T>, T) - Method in class javax.money.AbstractContextBuilder
Sets an attribute, using attribute.getClass() as attribute type.
set(Object) - Method in class javax.money.AbstractContextBuilder
Sets an attribute, using attribute.getClass() as attribute type and attribute.getClass().getName() as attribute name.
set(String, boolean) - Method in class javax.money.AbstractContextBuilder
Sets an Boolean attribute.
set(String, char) - Method in class javax.money.AbstractContextBuilder
Sets an Character attribute.
set(String, double) - Method in class javax.money.AbstractContextBuilder
Sets an Double attribute.
set(String, float) - Method in class javax.money.AbstractContextBuilder
Sets an Float attribute.
set(String, int) - Method in class javax.money.AbstractContextBuilder
Sets an Integer attribute.
set(String, long) - Method in class javax.money.AbstractContextBuilder
Sets an Long attribute.
set(String, Object) - Method in class javax.money.AbstractContextBuilder
Sets an attribute, using attribute.getClass() as attribute type.
set(List<String>) - Method in class javax.money.AbstractQueryBuilder
Set the providers to be considered.
setAmount(MonetaryAmount) - Method in interface javax.money.MonetaryAmountFactory
Uses an arbitrary MonetaryAmount to initialize this factory.
setAmountType(Class<? extends MonetaryAmount>) - Method in class javax.money.MonetaryContextBuilder
Set the MonetaryAmount implementation class.
setBaseCurrency(String) - Method in class javax.money.convert.ConversionQueryBuilder
Sets the base currency.
setBaseCurrency(CurrencyUnit) - Method in class javax.money.convert.ConversionQueryBuilder
Sets the base currency.
setContext(MonetaryContext) - Method in interface javax.money.MonetaryAmountFactory
Sets the MonetaryContext to be used.
setCountries(Locale...) - Method in class javax.money.CurrencyQueryBuilder
Sets the country for which currencies should be requested.
setCurrency(String) - Method in interface javax.money.MonetaryAmountFactory
Sets the CurrencyUnit to be used.
setCurrency(CurrencyUnit) - Method in interface javax.money.MonetaryAmountFactory
Sets the CurrencyUnit to be used.
setCurrency(CurrencyUnit) - Method in class javax.money.RoundingContextBuilder
Get the basic CurrencyUnit, which is based for this rounding type.
setCurrency(CurrencyUnit) - Method in class javax.money.RoundingQueryBuilder
Sets the target CurrencyUnit, which defines a rounding targeting a concrete CurrencyUnit.
setCurrencyCodes(String...) - Method in class javax.money.CurrencyQueryBuilder
Sets the currency code, or the regular expression to select codes.
setFixedScale(boolean) - Method in class javax.money.MonetaryAmountFactoryQueryBuilder
Sets the flag if the scale should fixed, meaning minimal scale and maximal scale are always equally sized.
setFixedScale(boolean) - Method in class javax.money.MonetaryContextBuilder
Set the flag if the scale should fixed.
setFormatName(String) - Method in class javax.money.format.AmountFormatContextBuilder
Sets a format's name.
setFormatName(String) - Method in class javax.money.format.AmountFormatQueryBuilder
Sets a style's id.
setLocale(Locale) - Method in class javax.money.format.AmountFormatContextBuilder
Sets a Locale to be applied.
setLocale(Locale) - Method in class javax.money.format.AmountFormatQueryBuilder
Sets a Locale to be applied.
setMaxScale(int) - Method in class javax.money.MonetaryAmountFactoryQueryBuilder
Sets the maximal scale to be supported.
setMaxScale(int) - Method in class javax.money.MonetaryContextBuilder
Set the maximal scale to be supported.
setMonetaryAmountFactory(MonetaryAmountFactory) - Method in class javax.money.format.AmountFormatContextBuilder
Sets the MonetaryContext to be used, when amount's are parsed.
setMonetaryAmountFactory(MonetaryAmountFactory<?>) - Method in class javax.money.format.AmountFormatQueryBuilder
Sets the MonetaryAmountFactory to be used to of amounts during parsing.
setMonetaryQuery(MonetaryAmountFactoryQuery) - Method in class javax.money.format.AmountFormatQueryBuilder
Sets the MonetaryContext to be used, when amount's are parsed.
setNumber(double) - Method in interface javax.money.MonetaryAmountFactory
Sets the number to be used.
setNumber(long) - Method in interface javax.money.MonetaryAmountFactory
Sets the number to be used.
setNumber(Number) - Method in interface javax.money.MonetaryAmountFactory
Sets the number to be used.
setNumericCodes(int...) - Method in class javax.money.CurrencyQueryBuilder
Set the numeric code.
setPrecision(int) - Method in class javax.money.MonetaryAmountFactoryQueryBuilder
Sets the required precision, the value 0 models unlimited precision.
setPrecision(int) - Method in class javax.money.MonetaryContextBuilder
Set the required precision.
setProviderName(String) - Method in class javax.money.AbstractContextBuilder
Sets the provider.
setProviderName(String) - Method in class javax.money.AbstractQueryBuilder
Simple override, that sets the provider as provider to use.
setProviderNames(String...) - Method in class javax.money.AbstractQueryBuilder
Set the providers to be considered.
setProviderNames(List<String>) - Method in class javax.money.AbstractQueryBuilder
Set the providers to be considered.
setRateType(RateType) - Method in class javax.money.convert.ConversionContextBuilder
Set the historic value.
setRateTypes(Collection<RateType>) - Method in class javax.money.convert.ProviderContextBuilder
Set the rate types.
setRateTypes(Set<RateType>) - Method in class javax.money.convert.ConversionQueryBuilder
Set the providers to be considered.
setRateTypes(RateType...) - Method in class javax.money.convert.ConversionQueryBuilder
Set the providers to be considered.
setRateTypes(RateType...) - Method in class javax.money.convert.ProviderContextBuilder
Set the rate types.
setRoundingName(String) - Method in class javax.money.RoundingQueryBuilder
Sets the rounding names of the MonetaryRounding instances.
setScale(int) - Method in class javax.money.RoundingQueryBuilder
Sets the target scale.
setTargetType(Class<?>) - Method in class javax.money.AbstractQueryBuilder
Sets the target implementation type required.
setTermCurrency(String) - Method in class javax.money.convert.ConversionQueryBuilder
Sets the term currency.
setTermCurrency(CurrencyUnit) - Method in class javax.money.convert.ConversionQueryBuilder
Sets the term currency.
signum() - Method in interface javax.money.MonetaryAmount
Returns the signum function of this MonetaryAmount.
stripTrailingZeros() - Method in interface javax.money.MonetaryAmount
Returns a MonetaryAmount which is numerically equal to this one but with any trailing zeros removed from the representation.
subtract(MonetaryAmount) - Method in interface javax.money.MonetaryAmount
Returns a MonetaryAmount whose value is this - amount, and whose scale is max(this.getContext().getMaxScale(), subtrahend.getContext().getMaxScale().

T

toBuilder() - Method in class javax.money.convert.ConversionContext
Creates a conversion query builder with the context data from this context instance.
toBuilder() - Method in class javax.money.convert.ConversionQuery
Creates a new Builder preinitialized with values from this instance.
toBuilder() - Method in class javax.money.convert.ProviderContext
Creates a ProviderContextBuilder initialized with this instance's data.
toBuilder() - Method in class javax.money.CurrencyContext
Allows to convert a instance into the corresponding CurrencyContextBuilder, which allows to change the values and of another CurrencyContext instance.
toBuilder() - Method in class javax.money.CurrencyQuery
Creates a new builder instances, initialized with the data from this one.
toBuilder() - Method in class javax.money.format.AmountFormatContext
Creates a new builder instances, initialized with the data from this one.
toBuilder() - Method in class javax.money.format.AmountFormatQuery
Get a AmountFormatQueryBuilder preinitialized with this context instance.
toBuilder() - Method in class javax.money.MonetaryAmountFactoryQuery
Creates a new builder instances, initialized with the data from this one.
toBuilder() - Method in class javax.money.MonetaryContext
Creates a new builder instances, initialized with the data from this one.
toBuilder() - Method in class javax.money.RoundingContext
Allows to convert a instance into the corresponding CurrencyContextBuilder, which allows to change the values and of another CurrencyContext instance.
toBuilder() - Method in class javax.money.RoundingQuery
Creates a new builder instances, initialized with the data from this one.
toQueryBuilder() - Method in class javax.money.convert.ConversionContext
Creates a query builder based on this context.
toString() - Method in class javax.money.AbstractContext
 
toString() - Method in class javax.money.AbstractContextBuilder
 
toString() - Method in exception javax.money.convert.CurrencyConversionException
 
toString() - Method in exception javax.money.UnknownCurrencyException
 

U

UnknownCurrencyException - Exception in javax.money
Exception thrown when a currency code cannot be resolved into a CurrencyUnit.
UnknownCurrencyException(String) - Constructor for exception javax.money.UnknownCurrencyException
Creates a new exception instance when a CurrencyUnit could not be evaluated given a currency code.
UnknownCurrencyException(Locale) - Constructor for exception javax.money.UnknownCurrencyException
Creates a new exception instance when a CurrencyUnit could not be evaluated given a (country) Locale.

V

valueOf(String) - Static method in enum javax.money.convert.RateType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum javax.money.spi.MonetaryAmountFactoryProviderSpi.QueryInclusionPolicy
Returns the enum constant of this type with the specified name.
values() - Static method in enum javax.money.convert.RateType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum javax.money.spi.MonetaryAmountFactoryProviderSpi.QueryInclusionPolicy
Returns an array containing the constants of this enum type, in the order they are declared.

W

with(MonetaryOperator) - Method in interface javax.money.MonetaryAmount
Returns an operated object of the same type as this object with the operation made.
A B C D E F G H I J K L M N O P Q R S T U V W 
All Classes All Packages