Skip navigation links
A B C D E F G H I J L M N O P Q R S T U V W 

A

abs() - Method in class org.javamoney.moneta.FastMoney
 
abs() - Method in class org.javamoney.moneta.Money
 
abs() - Method in class org.javamoney.moneta.RoundedMoney
 
AbstractAmountBuilder<T extends javax.money.MonetaryAmount> - Class in org.javamoney.moneta.spi
Basic implementation of MonetaryAmountFactory, which simplifies development of the SPI interface.
AbstractAmountBuilder() - Constructor for class org.javamoney.moneta.spi.AbstractAmountBuilder
 
AbstractCurrencyConversion - Class in org.javamoney.moneta.spi
Abstract base class used for implementing currency conversion.
AbstractCurrencyConversion(CurrencyUnit, ConversionContext) - Constructor for class org.javamoney.moneta.spi.AbstractCurrencyConversion
 
AbstractRateProvider - Class in org.javamoney.moneta.spi
Abstract base class for ExchangeRateProvider implementations.
AbstractRateProvider(ProviderContext) - Constructor for class org.javamoney.moneta.spi.AbstractRateProvider
Constructor.
accept(MonetaryAmount) - Method in class org.javamoney.moneta.function.GroupMonetarySummaryStatistics
 
accept(MonetaryAmount) - Method in interface org.javamoney.moneta.function.MonetarySummaryStatistics
Records another value into the summary information.
add(MonetaryAmount) - Method in class org.javamoney.moneta.FastMoney
 
add(MonetaryAmount) - Method in class org.javamoney.moneta.Money
 
add(MonetaryAmount) - Method in class org.javamoney.moneta.RoundedMoney
 
addLoaderListener(LoaderService.LoaderListener, String...) - Method in class org.javamoney.moneta.internal.loader.DefaultLoaderService
 
addLoaderListener(LoaderService.LoaderListener, String...) - Method in interface org.javamoney.moneta.spi.LoaderService
Add a LoaderService.LoaderListener callback that is informed when a data resource was update from remote, or resetToFallback.
AmountFormatParams - Class in org.javamoney.moneta.format
Class holding constants for passing additional parameters to MonetaryAmountFactoryQuery instances for configuring MonetaryAmountFormat instances to be accessed.
apply(MonetaryAmount) - Method in class org.javamoney.moneta.spi.AbstractCurrencyConversion
Method that converts the source MonetaryAmount to an MonetaryAmount based on the ExchangeRate of this conversion.
asNumberStripped() - Method in class org.javamoney.moneta.RoundedMoney
Method that returns BigDecimal.ZERO, if RoundedMoney.isZero(), and #number RoundedMoney.stripTrailingZeros() in all other cases.
asType(Class<T>) - Method in class org.javamoney.moneta.RoundedMoney
 
asType(Class<T>, MonetaryOperator) - Method in class org.javamoney.moneta.RoundedMoney
 

B

build() - Method in class org.javamoney.moneta.CurrencyUnitBuilder
Returns a new instance of BuildableCurrencyUnit.
build(boolean) - Method in class org.javamoney.moneta.CurrencyUnitBuilder
Returns a new instance of BuildableCurrencyUnit and publishes it so it is accessible from the MonetaryCurrencies singleton.
build(boolean, Locale) - Method in class org.javamoney.moneta.CurrencyUnitBuilder
Returns a new instance of BuildableCurrencyUnit and publishes it so it is accessible from the MonetaryCurrencies singleton.
build() - Method in class org.javamoney.moneta.ExchangeRateBuilder
Builds a new instance of ExchangeRate.

C

checkAmountParameter(MonetaryAmount, CurrencyUnit) - Static method in class org.javamoney.moneta.spi.MoneyUtils
Method to check if a currency is compatible with this amount instance.
checkNoInfinityOrNaN(Number) - Static method in class org.javamoney.moneta.Money
 
checkNumberParameter(Number) - Static method in class org.javamoney.moneta.spi.MoneyUtils
Internal method to check for correct number parameter.
clear(String) - Method in class org.javamoney.moneta.internal.loader.DefaultResourceCache
 
clear(String) - Method in interface org.javamoney.moneta.internal.loader.ResourceCache
Remove a cache entry.
clearCache() - Method in class org.javamoney.moneta.internal.loader.LoadableResource
This method is called when the cached data should be removed, e.g. after an explicit fallback reload, or a clear operation.
combine(GroupMonetarySummaryStatistics) - Method in class org.javamoney.moneta.function.GroupMonetarySummaryStatistics
 
combine(MonetarySummaryStatistics) - Method in interface org.javamoney.moneta.function.MonetarySummaryStatistics
Combines the state of another MonetarySummaryStatistics into this one.
compareServices(Object, Object) - Static method in class org.javamoney.moneta.internal.PriorityAwareServiceProvider
 
compareTo(MonetaryAmount) - Method in class org.javamoney.moneta.FastMoney
 
compareTo(CurrencyUnit) - Method in class org.javamoney.moneta.internal.JDKCurrencyAdapter
Compares two instances, based on JDKCurrencyAdapter.getCurrencyCode().
compareTo(MonetaryAmount) - Method in class org.javamoney.moneta.Money
 
compareTo(MonetaryAmount) - Method in class org.javamoney.moneta.RoundedMoney
 
CompoundRateProvider - Class in org.javamoney.moneta.spi
This class implements a ExchangeRateProvider that delegates calls to a collection of child ExchangeRateProvider instance.
CompoundRateProvider(Iterable<ExchangeRateProvider>) - Constructor for class org.javamoney.moneta.spi.CompoundRateProvider
Constructor.
ConfigurableCurrencyUnitProvider - Class in org.javamoney.moneta.internal
This class provides a programmatic singleton for globally registering new Currency into the Monetary singleton either by currency code, locale, or both.
ConfigurableCurrencyUnitProvider() - Constructor for class org.javamoney.moneta.internal.ConfigurableCurrencyUnitProvider
 
ConvertBigDecimal - Enum in org.javamoney.moneta.spi
This enumeration provides general utility functions supporting conversion of number types to BigDecimal.
create(Number, CurrencyUnit, MonetaryContext) - Method in class org.javamoney.moneta.internal.FastMoneyAmountBuilder
 
create(Number, CurrencyUnit, MonetaryContext) - Method in class org.javamoney.moneta.internal.MoneyAmountBuilder
 
create(Number, CurrencyUnit, MonetaryContext) - Method in class org.javamoney.moneta.internal.RoundedMoneyAmountBuilder
 
create() - Method in class org.javamoney.moneta.spi.AbstractAmountBuilder
Creates a new instance of MonetaryAmount, using the default MonetaryContext.
create(Number, CurrencyUnit, MonetaryContext) - Method in class org.javamoney.moneta.spi.AbstractAmountBuilder
 
createMonetaryAmountFactory() - Method in class org.javamoney.moneta.internal.FastMoneyAmountFactoryProvider
 
createMonetaryAmountFactory() - Method in class org.javamoney.moneta.internal.MoneyAmountFactoryProvider
 
createMonetaryAmountFactory() - Method in class org.javamoney.moneta.internal.RoundedMoneyAmountFactoryProvider
 
CurrencyStyle - Enum in org.javamoney.moneta.format
Defines the different variants of currency formatting.
CurrencyUnitBuilder - Class in org.javamoney.moneta
Builder for constructing new instances of BuildableCurrencyUnit using a fluent API.

D

DEFAULT_MONETARY_CONTEXT - Static variable in class org.javamoney.moneta.Money
The default MonetaryContext applied, if not set explicitly on creation.
DEFAULT_MONETARY_CONTEXT - Static variable in class org.javamoney.moneta.RoundedMoney
The default MonetaryContext applied.
DefaultAmountFormatProviderSpi - Class in org.javamoney.moneta.internal.format
Default format provider, which mainly maps the existing JDK functionality into the JSR 354 logic.
DefaultAmountFormatProviderSpi() - Constructor for class org.javamoney.moneta.internal.format.DefaultAmountFormatProviderSpi
 
DefaultLoaderService - Class in org.javamoney.moneta.internal.loader
This class provides a mechanism to register resources, that may be updated regularly.
DefaultLoaderService() - Constructor for class org.javamoney.moneta.internal.loader.DefaultLoaderService
Constructor, initializing from config.
DefaultMonetaryAmountsSingletonQuerySpi - Class in org.javamoney.moneta.internal
Default implementation ot MonetaryAmountsSingletonSpi loading the SPIs on startup initially once, using the JSR's Bootstrap mechanism.
DefaultMonetaryAmountsSingletonQuerySpi() - Constructor for class org.javamoney.moneta.internal.DefaultMonetaryAmountsSingletonQuerySpi
 
DefaultMonetaryAmountsSingletonSpi - Class in org.javamoney.moneta.internal
Default implementation ot MonetaryAmountsSingletonSpi loading the SPIs on startup initially once, using the JSR's Bootstrap mechanism.
DefaultMonetaryAmountsSingletonSpi() - Constructor for class org.javamoney.moneta.internal.DefaultMonetaryAmountsSingletonSpi
 
DefaultMonetaryConversionsSingletonSpi - Class in org.javamoney.moneta.internal.convert
This is the default implementation of the MonetaryConversionsSingletonSpi interface, backing up the MonetaryConversions singleton.
DefaultMonetaryConversionsSingletonSpi() - Constructor for class org.javamoney.moneta.internal.convert.DefaultMonetaryConversionsSingletonSpi
Constructors, loads the providers from the Bootstrap component.
DefaultNumberValue - Class in org.javamoney.moneta.spi
Default implementation of NumberValue based on BigDecimal.
DefaultNumberValue(Number) - Constructor for class org.javamoney.moneta.spi.DefaultNumberValue
 
DefaultResourceCache - Class in org.javamoney.moneta.internal.loader
Default implementation of ResourceCache, using the local file system.
DefaultResourceCache() - Constructor for class org.javamoney.moneta.internal.loader.DefaultResourceCache
Constructor.
DefaultRoundingProvider - Class in org.javamoney.moneta.internal
Default implementation of a RoundingProviderSpi that creates instances of .javamoney.moneta.format.DefaultRounding that relies on the default fraction units defined by .Currency#getDefaultFractionDigits().
DefaultRoundingProvider() - Constructor for class org.javamoney.moneta.internal.DefaultRoundingProvider
 
divide(Number) - Method in class org.javamoney.moneta.FastMoney
 
divide(long) - Method in class org.javamoney.moneta.FastMoney
 
divide(double) - Method in class org.javamoney.moneta.FastMoney
 
divide(long) - Method in class org.javamoney.moneta.Money
 
divide(double) - Method in class org.javamoney.moneta.Money
 
divide(Number) - Method in class org.javamoney.moneta.Money
 
divide(Number) - Method in class org.javamoney.moneta.RoundedMoney
 
divide(long) - Method in class org.javamoney.moneta.RoundedMoney
 
divide(double) - Method in class org.javamoney.moneta.RoundedMoney
 
divide(NumberValue, NumberValue) - Static method in class org.javamoney.moneta.spi.AbstractRateProvider
A protected helper method to divide 2 NumberValue types.
divide(NumberValue, NumberValue, MathContext) - Static method in class org.javamoney.moneta.spi.AbstractRateProvider
A protected helper method to divide 2 NumberValue types.
divideAndRemainder(Number) - Method in class org.javamoney.moneta.FastMoney
 
divideAndRemainder(long) - Method in class org.javamoney.moneta.FastMoney
 
divideAndRemainder(double) - Method in class org.javamoney.moneta.FastMoney
 
divideAndRemainder(long) - Method in class org.javamoney.moneta.Money
 
divideAndRemainder(double) - Method in class org.javamoney.moneta.Money
 
divideAndRemainder(Number) - Method in class org.javamoney.moneta.Money
 
divideAndRemainder(Number) - Method in class org.javamoney.moneta.RoundedMoney
 
divideAndRemainder(long) - Method in class org.javamoney.moneta.RoundedMoney
 
divideAndRemainder(double) - Method in class org.javamoney.moneta.RoundedMoney
 
divideToIntegralValue(Number) - Method in class org.javamoney.moneta.FastMoney
 
divideToIntegralValue(long) - Method in class org.javamoney.moneta.FastMoney
 
divideToIntegralValue(double) - Method in class org.javamoney.moneta.FastMoney
 
divideToIntegralValue(long) - Method in class org.javamoney.moneta.Money
 
divideToIntegralValue(double) - Method in class org.javamoney.moneta.Money
 
divideToIntegralValue(Number) - Method in class org.javamoney.moneta.Money
 
divideToIntegralValue(Number) - Method in class org.javamoney.moneta.RoundedMoney
 
divideToIntegralValue(long) - Method in class org.javamoney.moneta.RoundedMoney
 
divideToIntegralValue(double) - Method in class org.javamoney.moneta.RoundedMoney
 
doubleValue() - Method in class org.javamoney.moneta.spi.DefaultNumberValue
 
doubleValueExact() - Method in class org.javamoney.moneta.spi.DefaultNumberValue
 

E

ECBCurrentRateProvider - Class in org.javamoney.moneta.internal.convert
This class implements an ExchangeRateProvider that loads data from the European Central Bank data feed (XML).
ECBCurrentRateProvider() - Constructor for class org.javamoney.moneta.internal.convert.ECBCurrentRateProvider
 
ECBHistoric90RateProvider - Class in org.javamoney.moneta.internal.convert
This class implements an ExchangeRateProvider that loads data from the European Central Bank data feed (XML).
ECBHistoric90RateProvider() - Constructor for class org.javamoney.moneta.internal.convert.ECBHistoric90RateProvider
 
ECBHistoricRateProvider - Class in org.javamoney.moneta.internal.convert
This class implements an ExchangeRateProvider that loads data from the European Central Bank data feed (XML).
ECBHistoricRateProvider() - Constructor for class org.javamoney.moneta.internal.convert.ECBHistoricRateProvider
 
equals(Object) - Method in class org.javamoney.moneta.FastMoney
 
equals(Object) - Method in class org.javamoney.moneta.function.GroupMonetarySummaryStatistics
 
equals(Object) - Method in class org.javamoney.moneta.internal.JDKCurrencyAdapter
 
equals(Object) - Method in class org.javamoney.moneta.Money
 
equals(Object) - Method in class org.javamoney.moneta.RoundedMoney
 
ExchangeRateBuilder - Class in org.javamoney.moneta
Builder for creating new instances of ExchangeRate.
ExchangeRateBuilder(String, RateType) - Constructor for class org.javamoney.moneta.ExchangeRateBuilder
Sets the exchange rate type
ExchangeRateBuilder(ConversionContext) - Constructor for class org.javamoney.moneta.ExchangeRateBuilder
Sets the exchange rate type
ExchangeRateBuilder(ExchangeRate) - Constructor for class org.javamoney.moneta.ExchangeRateBuilder
Sets the exchange rate type
ExchangeRateType - Enum in org.javamoney.moneta
This enum contains all implementation of moneta.

F

FastMoney - Class in org.javamoney.moneta
long based implementation of MonetaryAmount.This class internally uses a single long number as numeric representation, which basically is interpreted as minor units.
FastMoneyAmountBuilder - Class in org.javamoney.moneta.internal
Implementation of MonetaryAmountFactory creating instances of FastMoney.
FastMoneyAmountBuilder() - Constructor for class org.javamoney.moneta.internal.FastMoneyAmountBuilder
 
FastMoneyAmountFactoryProvider - Class in org.javamoney.moneta.internal
Implementation of MonetaryAmountFactoryProviderSpi creating instances of FastMoneyAmountBuilder.
FastMoneyAmountFactoryProvider() - Constructor for class org.javamoney.moneta.internal.FastMoneyAmountFactoryProvider
 
filterByExcludingCurrency(CurrencyUnit...) - Static method in class org.javamoney.moneta.function.MonetaryFunctions
Create predicate that filters by CurrencyUnit.
floatValue() - Method in class org.javamoney.moneta.spi.DefaultNumberValue
 
FormatToken - Interface in org.javamoney.moneta.internal.format
Abstraction for a token that is part of a token stream, used for formatting and parsing.
from(MonetaryAmount) - Static method in class org.javamoney.moneta.FastMoney
 
from(MonetaryAmount) - Static method in class org.javamoney.moneta.Money
Converts (if necessary) the given MonetaryAmount to a Money instance.
from(MonetaryAmount) - Static method in class org.javamoney.moneta.RoundedMoney
 

G

get() - Method in enum org.javamoney.moneta.ExchangeRateType
 
get() - Method in class org.javamoney.moneta.function.GroupMonetarySummaryStatistics
 
getAccessCount() - Method in class org.javamoney.moneta.internal.loader.LoadableResource
Get the number of successful accesses.
getAmountFactories(MonetaryAmountFactoryQuery) - Method in class org.javamoney.moneta.internal.DefaultMonetaryAmountsSingletonQuerySpi
(non-Javadoc)
getAmountFactory(Class<T>) - Method in class org.javamoney.moneta.internal.DefaultMonetaryAmountsSingletonSpi
 
getAmountFormats(AmountFormatQuery) - Method in class org.javamoney.moneta.internal.format.DefaultAmountFormatProviderSpi
 
getAmountFractionDenominator() - Method in class org.javamoney.moneta.spi.DefaultNumberValue
 
getAmountFractionNumerator() - Method in class org.javamoney.moneta.spi.DefaultNumberValue
 
getAmountType() - Method in class org.javamoney.moneta.internal.FastMoneyAmountBuilder
 
getAmountType() - Method in class org.javamoney.moneta.internal.FastMoneyAmountFactoryProvider
 
getAmountType() - Method in class org.javamoney.moneta.internal.MoneyAmountBuilder
 
getAmountType() - Method in class org.javamoney.moneta.internal.MoneyAmountFactoryProvider
 
getAmountType() - Method in class org.javamoney.moneta.internal.RoundedMoneyAmountBuilder
 
getAmountType() - Method in class org.javamoney.moneta.internal.RoundedMoneyAmountFactoryProvider
 
getAmountTypes() - Method in class org.javamoney.moneta.internal.DefaultMonetaryAmountsSingletonSpi
 
getAvailableFormatNames() - Method in class org.javamoney.moneta.internal.format.DefaultAmountFormatProviderSpi
 
getAvailableLocales() - Method in class org.javamoney.moneta.internal.format.DefaultAmountFormatProviderSpi
 
getAverage() - Method in interface org.javamoney.moneta.function.MonetarySummaryStatistics
Get the mean average of all amounts added.
getBigDecimal(long) - Static method in class org.javamoney.moneta.spi.MoneyUtils
Creates a BigDecimal from the given Number doing the valid conversion depending the type given.
getBigDecimal(double) - Static method in class org.javamoney.moneta.spi.MoneyUtils
Creates a BigDecimal from the given Number doing the valid conversion depending the type given.
getBigDecimal(Number) - Static method in class org.javamoney.moneta.spi.MoneyUtils
Creates a BigDecimal from the given Number doing the valid conversion depending the type given.
getBigDecimal(Number, MonetaryContext) - Static method in class org.javamoney.moneta.spi.MoneyUtils
Creates a BigDecimal from the given Number doing the valid conversion depending the type given, if a MonetaryContext is given, it is applied to the number returned.
getConfig() - Static method in class org.javamoney.moneta.spi.MonetaryConfig
 
getContext() - Method in class org.javamoney.moneta.FastMoney
Access the MonetaryContext used by this instance.
getContext() - Method in class org.javamoney.moneta.internal.JDKCurrencyAdapter
 
getContext() - Method in class org.javamoney.moneta.Money
Access the MonetaryContext used by this instance.
getContext() - Method in class org.javamoney.moneta.RoundedMoney
Access the MathContext used by this instance.
getContext() - Method in class org.javamoney.moneta.spi.AbstractCurrencyConversion
Access the target ConversionContext of this conversion instance.
getContext() - Method in class org.javamoney.moneta.spi.AbstractRateProvider
 
getCount() - Method in interface org.javamoney.moneta.function.MonetarySummaryStatistics
Get the number of items added to this summary instance.
getCurrencies(CurrencyQuery) - Method in class org.javamoney.moneta.internal.ConfigurableCurrencyUnitProvider
Return a CurrencyUnit instances matching the given CurrencyContext.
getCurrencies(CurrencyQuery) - Method in class org.javamoney.moneta.internal.JDKCurrencyProvider
Return a CurrencyUnit instances matching the given CurrencyContext.
getCurrency() - Method in class org.javamoney.moneta.FastMoney
Returns the amount’s currency, modelled as CurrencyUnit.
getCurrency() - Method in class org.javamoney.moneta.Money
Returns the amount’s currency, modelled as CurrencyUnit.
getCurrency() - Method in class org.javamoney.moneta.RoundedMoney
 
getCurrency() - Method in class org.javamoney.moneta.spi.AbstractCurrencyConversion
Access the terminating CurrencyUnit of this conversion instance.
getCurrencyCode() - Method in class org.javamoney.moneta.internal.JDKCurrencyAdapter
Gets the unique currency code, the effective code depends on the currency.
getCurrencyConversion(ConversionQuery) - Method in class org.javamoney.moneta.spi.AbstractRateProvider
 
getCurrencyUnit() - Method in interface org.javamoney.moneta.function.MonetarySummaryStatistics
the currency unit used in summary
getData(String) - Method in class org.javamoney.moneta.internal.loader.DefaultLoaderService
 
getData() - Method in class org.javamoney.moneta.internal.loader.LoadableResource
Get the resource data.
getData(boolean) - Method in class org.javamoney.moneta.internal.loader.LoadableResource
 
getData(String) - Method in interface org.javamoney.moneta.spi.LoaderService
Access the input stream of the given data resource.
getDataId() - Method in class org.javamoney.moneta.internal.convert.ECBCurrentRateProvider
 
getDataId() - Method in class org.javamoney.moneta.internal.convert.ECBHistoric90RateProvider
 
getDataId() - Method in class org.javamoney.moneta.internal.convert.ECBHistoricRateProvider
 
getDataStream() - Method in class org.javamoney.moneta.internal.loader.LoadableResource
Get the resource data as input stream.
getDefaultAmountType() - Method in class org.javamoney.moneta.internal.DefaultMonetaryAmountsSingletonSpi
 
getDefaultFractionDigits() - Method in class org.javamoney.moneta.internal.JDKCurrencyAdapter
Gets the number of fractional digits typically used by this currency.
getDefaultMonetaryContext() - Method in class org.javamoney.moneta.internal.FastMoneyAmountFactoryProvider
 
getDefaultMonetaryContext() - Method in class org.javamoney.moneta.internal.MoneyAmountFactoryProvider
 
getDefaultMonetaryContext() - Method in class org.javamoney.moneta.internal.RoundedMoneyAmountFactoryProvider
 
getDefaultMonetaryContext() - Method in class org.javamoney.moneta.spi.AbstractAmountBuilder
Returns the default MonetaryContext used, when no MonetaryContext is provided.
getDefaultProviderChain() - Method in class org.javamoney.moneta.internal.convert.DefaultMonetaryConversionsSingletonSpi
 
getDescription() - Method in enum org.javamoney.moneta.ExchangeRateType
 
getExchangeRate(ConversionQuery) - Method in class org.javamoney.moneta.internal.convert.IdentityRateProvider
 
getExchangeRate(ConversionQuery) - Method in class org.javamoney.moneta.internal.convert.IMFRateProvider
 
getExchangeRate(MonetaryAmount) - Method in class org.javamoney.moneta.spi.AbstractCurrencyConversion
Get the exchange rate type that this MonetaryOperator instance is using for conversion.
getExchangeRate(ConversionQuery) - Method in class org.javamoney.moneta.spi.AbstractRateProvider
 
getExchangeRate(ConversionQuery) - Method in class org.javamoney.moneta.spi.CompoundRateProvider
 
getExchangeRate(MonetaryAmount) - Method in class org.javamoney.moneta.spi.LazyBoundCurrencyConversion
Get the exchange rate type that this provider instance is providing data for.
getExchangeRateProvider(ConversionQuery) - Method in class org.javamoney.moneta.internal.convert.DefaultMonetaryConversionsSingletonSpi
 
getExchangeRateProvider(String...) - Method in class org.javamoney.moneta.internal.convert.DefaultMonetaryConversionsSingletonSpi
 
getExchangeRateProvider() - Method in class org.javamoney.moneta.spi.LazyBoundCurrencyConversion
 
getFactory() - Method in class org.javamoney.moneta.FastMoney
 
getFactory() - Method in class org.javamoney.moneta.Money
 
getFactory() - Method in class org.javamoney.moneta.RoundedMoney
 
getFallbackResource() - Method in class org.javamoney.moneta.internal.loader.LoadableResource
Return the fallback location.
getLastLoaded() - Method in class org.javamoney.moneta.internal.loader.LoadableResource
Get the timestamp of the last succesful load.
getLoadCount() - Method in class org.javamoney.moneta.internal.loader.LoadableResource
Get the number of active loads of this resource (InputStream).
getMathContext(MonetaryContext, RoundingMode) - Static method in class org.javamoney.moneta.spi.MoneyUtils
Evaluates the MathContext from the given MonetaryContext.
getMax() - Method in interface org.javamoney.moneta.function.MonetarySummaryStatistics
Get the maximal amount found within this summary.
getMaximalMonetaryContext() - Method in class org.javamoney.moneta.internal.FastMoneyAmountFactoryProvider
 
getMaximalMonetaryContext() - Method in class org.javamoney.moneta.internal.MoneyAmountFactoryProvider
 
getMaximalMonetaryContext() - Method in class org.javamoney.moneta.internal.RoundedMoneyAmountFactoryProvider
 
getMaximalMonetaryContext() - Method in class org.javamoney.moneta.spi.AbstractAmountBuilder
Returns the maximal MonetaryContext supported.
getMaxNumber() - Method in class org.javamoney.moneta.internal.FastMoneyAmountBuilder
 
getMaxNumber() - Method in class org.javamoney.moneta.internal.MoneyAmountBuilder
 
getMaxNumber() - Method in class org.javamoney.moneta.internal.RoundedMoneyAmountBuilder
 
getMin() - Method in interface org.javamoney.moneta.function.MonetarySummaryStatistics
Get the minimal amount found within this summary.
getMinNumber() - Method in class org.javamoney.moneta.internal.FastMoneyAmountBuilder
 
getMinNumber() - Method in class org.javamoney.moneta.internal.MoneyAmountBuilder
 
getMinNumber() - Method in class org.javamoney.moneta.internal.RoundedMoneyAmountBuilder
 
getNumber() - Method in class org.javamoney.moneta.FastMoney
Gets the number representation of the numeric value of this item.
getNumber() - Method in class org.javamoney.moneta.Money
Gets the number representation of the numeric value of this item.
getNumber() - Method in class org.javamoney.moneta.RoundedMoney
 
getNumberStripped() - Method in class org.javamoney.moneta.Money
Method that returns BigDecimal.ZERO, if Money.isZero(), and #stripTrailingZeros() in all other cases.
getNumberType() - Method in class org.javamoney.moneta.spi.DefaultNumberValue
 
getNumericCode() - Method in class org.javamoney.moneta.internal.JDKCurrencyAdapter
Gets a numeric currency code.
getPrecision() - Method in class org.javamoney.moneta.FastMoney
 
getPrecision() - Method in class org.javamoney.moneta.RoundedMoney
 
getPrecision() - Method in class org.javamoney.moneta.spi.DefaultNumberValue
 
getPriority() - Method in class org.javamoney.moneta.internal.PriorityAwareServiceProvider
Returns a priority value of 10.
getProperties() - Method in class org.javamoney.moneta.internal.loader.LoadableResource
Get the configuration properties of this resource.
getProviderName() - Method in class org.javamoney.moneta.internal.DefaultRoundingProvider
 
getProviderName() - Method in class org.javamoney.moneta.internal.format.DefaultAmountFormatProviderSpi
 
getProviderName() - Method in class org.javamoney.moneta.internal.JDKCurrencyProvider
 
getProviderNames() - Method in class org.javamoney.moneta.internal.convert.DefaultMonetaryConversionsSingletonSpi
 
getQueryInclusionPolicy() - Method in class org.javamoney.moneta.internal.FastMoneyAmountFactoryProvider
 
getQueryInclusionPolicy() - Method in class org.javamoney.moneta.internal.MoneyAmountFactoryProvider
 
getQueryInclusionPolicy() - Method in class org.javamoney.moneta.internal.RoundedMoneyAmountFactoryProvider
 
getRemoteResources() - Method in class org.javamoney.moneta.internal.loader.LoadableResource
Get the remote locations.
getResourceId() - Method in class org.javamoney.moneta.internal.loader.LoadableResource
Get the resourceId.
getResourceIds() - Method in class org.javamoney.moneta.internal.loader.DefaultLoaderService
 
getResourceIds() - Method in interface org.javamoney.moneta.spi.LoaderService
Get a Set of all registered data resource identifiers.
getReversed(ExchangeRate) - Method in class org.javamoney.moneta.internal.convert.IdentityRateProvider
 
getRounding(RoundingQuery) - Method in class org.javamoney.moneta.internal.DefaultRoundingProvider
Evaluate the rounding that match the given query.
getRoundingNames() - Method in class org.javamoney.moneta.internal.DefaultRoundingProvider
 
getScale() - Method in class org.javamoney.moneta.FastMoney
 
getScale() - Method in class org.javamoney.moneta.RoundedMoney
 
getScale() - Method in class org.javamoney.moneta.spi.DefaultNumberValue
 
getServices(Class<T>) - Method in class org.javamoney.moneta.internal.PriorityAwareServiceProvider
Loads and registers services.
getSum() - Method in interface org.javamoney.moneta.function.MonetarySummaryStatistics
Get the sum of all amounts within this summary.
getUpdateConfiguration(String) - Method in class org.javamoney.moneta.internal.loader.DefaultLoaderService
 
getUpdateConfiguration(String) - Method in interface org.javamoney.moneta.spi.LoaderService
Get the update configuration for the given dataId.
getUpdatePolicy(String) - Method in class org.javamoney.moneta.internal.loader.DefaultLoaderService
 
getUpdatePolicy() - Method in class org.javamoney.moneta.internal.loader.LoadableResource
Get the UpdatePolicy of this resource.
getUpdatePolicy(String) - Method in interface org.javamoney.moneta.spi.LoaderService
Get the LoaderService.UpdatePolicy in place for the given dataId.
groupByCurrencyUnit() - Static method in class org.javamoney.moneta.function.MonetaryFunctions
Collector to group by CurrencyUnit
groupBySummarizingMonetary() - Static method in class org.javamoney.moneta.function.MonetaryFunctions
of MonetaryAmount group by MonetarySummary
GROUPING_GROUPING_SEPARATORS - Static variable in class org.javamoney.moneta.format.AmountFormatParams
Allows to define the grouping characters of a number groups as char[], hereby starting from the decimal point.
GROUPING_SIZES - Static variable in class org.javamoney.moneta.format.AmountFormatParams
Allows to define the grouping sizes of the number groups as int[], hereby starting from the decimal point.
GroupMonetarySummaryStatistics - Class in org.javamoney.moneta.function
Internal class implementing grouped statistic functionality.

H

hashCode() - Method in class org.javamoney.moneta.FastMoney
 
hashCode() - Method in class org.javamoney.moneta.function.GroupMonetarySummaryStatistics
 
hashCode() - Method in class org.javamoney.moneta.internal.JDKCurrencyAdapter
 
hashCode() - Method in class org.javamoney.moneta.Money
 
hashCode() - Method in class org.javamoney.moneta.RoundedMoney
 
hasSameNumberAs(Number) - Method in class org.javamoney.moneta.FastMoney
 

I

IdentityRateProvider - Class in org.javamoney.moneta.internal.convert
This class implements an ExchangeRateProvider that provides exchange rate with factor one for identical base/term currencies.
IdentityRateProvider() - Constructor for class org.javamoney.moneta.internal.convert.IdentityRateProvider
Constructor, also loads initial data.
IMFRateProvider - Class in org.javamoney.moneta.internal.convert
Implements a ExchangeRateProvider that loads the IMF conversion data.
IMFRateProvider() - Constructor for class org.javamoney.moneta.internal.convert.IMFRateProvider
 
initialize() - Method in class org.javamoney.moneta.internal.loader.DefaultLoaderService
This method reads initial loads from the javamoney.properties and installs the according timers.
intValue() - Method in class org.javamoney.moneta.spi.DefaultNumberValue
 
intValueExact() - Method in class org.javamoney.moneta.spi.DefaultNumberValue
 
isAvailable(ConversionQuery) - Method in class org.javamoney.moneta.internal.convert.IdentityRateProvider
Check if this provider can provide a rate, which is only the case if base and term are equal.
isBetween(MonetaryAmount, MonetaryAmount) - Static method in class org.javamoney.moneta.function.MonetaryFunctions
Creates a filter using the isBetween predicate.
isCached(String) - Method in class org.javamoney.moneta.internal.loader.DefaultResourceCache
 
isCached(String) - Method in interface org.javamoney.moneta.internal.loader.ResourceCache
Allows to query if a resource with the given id is present within the local cache.
isConversionAvailable(ConversionQuery) - Method in class org.javamoney.moneta.internal.convert.DefaultMonetaryConversionsSingletonSpi
 
isCurrency(CurrencyUnit...) - Static method in class org.javamoney.moneta.function.MonetaryFunctions
Create predicate that filters by CurrencyUnit.
isEqualTo(MonetaryAmount) - Method in class org.javamoney.moneta.FastMoney
 
isEqualTo(MonetaryAmount) - Method in class org.javamoney.moneta.Money
 
isEqualTo(MonetaryAmount) - Method in class org.javamoney.moneta.RoundedMoney
 
isExchangeable() - Method in interface org.javamoney.moneta.function.MonetarySummaryStatistics
return if is possible do exchange rate or not with the MonetarySummary
isExchangeRateProviderAvailable(ConversionQuery) - Method in class org.javamoney.moneta.internal.convert.DefaultMonetaryConversionsSingletonSpi
 
isGreaterThan(MonetaryAmount) - Method in class org.javamoney.moneta.FastMoney
 
isGreaterThan(Number) - Method in class org.javamoney.moneta.FastMoney
 
isGreaterThan(MonetaryAmount) - Static method in class org.javamoney.moneta.function.MonetaryFunctions
Creates filter using isGreaterThan in MonetaryAmount.
isGreaterThan(MonetaryAmount) - Method in class org.javamoney.moneta.Money
 
isGreaterThan(MonetaryAmount) - Method in class org.javamoney.moneta.RoundedMoney
 
isGreaterThanOrEqualTo(MonetaryAmount) - Method in class org.javamoney.moneta.FastMoney
 
isGreaterThanOrEqualTo(Number) - Method in class org.javamoney.moneta.FastMoney
 
isGreaterThanOrEqualTo(MonetaryAmount) - Static method in class org.javamoney.moneta.function.MonetaryFunctions
Creates filter using isGreaterThanOrEqualTo in MonetaryAmount
isGreaterThanOrEqualTo(MonetaryAmount) - Method in class org.javamoney.moneta.Money
 
isGreaterThanOrEqualTo(MonetaryAmount) - Method in class org.javamoney.moneta.RoundedMoney
 
isInfinityAndNotNaN(Number) - Static method in class org.javamoney.moneta.Money
 
isLessThan(MonetaryAmount) - Method in class org.javamoney.moneta.FastMoney
 
isLessThan(Number) - Method in class org.javamoney.moneta.FastMoney
 
isLessThan(MonetaryAmount) - Static method in class org.javamoney.moneta.function.MonetaryFunctions
Creates filter using isLessThan in MonetaryAmount
isLessThan(MonetaryAmount) - Method in class org.javamoney.moneta.Money
 
isLessThan(MonetaryAmount) - Method in class org.javamoney.moneta.RoundedMoney
 
isLessThanOrEqualTo(MonetaryAmount) - Method in class org.javamoney.moneta.FastMoney
 
isLessThanOrEqualTo(Number) - Method in class org.javamoney.moneta.FastMoney
 
isLessThanOrEqualTo(MonetaryAmount) - Static method in class org.javamoney.moneta.function.MonetaryFunctions
Creates filter using isLessThanOrEqualTo in MonetaryAmount
isLessThanOrEqualTo(MonetaryAmount) - Method in class org.javamoney.moneta.Money
 
isLessThanOrEqualTo(MonetaryAmount) - Method in class org.javamoney.moneta.RoundedMoney
 
isNegative() - Method in class org.javamoney.moneta.FastMoney
 
isNegative() - Method in class org.javamoney.moneta.Money
 
isNegative() - Method in class org.javamoney.moneta.RoundedMoney
 
isNegativeOrZero() - Method in class org.javamoney.moneta.FastMoney
 
isNegativeOrZero() - Method in class org.javamoney.moneta.Money
 
isNegativeOrZero() - Method in class org.javamoney.moneta.RoundedMoney
 
isNotEqualTo(MonetaryAmount) - Method in class org.javamoney.moneta.RoundedMoney
 
isPositive() - Method in class org.javamoney.moneta.FastMoney
 
isPositive() - Method in class org.javamoney.moneta.Money
 
isPositive() - Method in class org.javamoney.moneta.RoundedMoney
 
isPositiveOrZero() - Method in class org.javamoney.moneta.FastMoney
 
isPositiveOrZero() - Method in class org.javamoney.moneta.Money
 
isPositiveOrZero() - Method in class org.javamoney.moneta.RoundedMoney
 
isResourceRegistered(String) - Method in class org.javamoney.moneta.internal.loader.DefaultLoaderService
 
isResourceRegistered(String) - Method in interface org.javamoney.moneta.spi.LoaderService
Allows to check if a data resource with the given dataId is registered.
isZero() - Method in class org.javamoney.moneta.FastMoney
 
isZero() - Method in class org.javamoney.moneta.Money
 
isZero() - Method in class org.javamoney.moneta.RoundedMoney
 

J

JDKCurrencyAdapter - Class in org.javamoney.moneta.internal
Default implementation of a CurrencyUnit based on the using the JDK's Currency.
JDKCurrencyProvider - Class in org.javamoney.moneta.internal
Default implementation of a CurrencyUnit based on the using the JDK's Currency.
JDKCurrencyProvider() - Constructor for class org.javamoney.moneta.internal.JDKCurrencyProvider
 

L

LazyBoundCurrencyConversion - Class in org.javamoney.moneta.spi
This class defines a CurrencyConversion that is converting to a specific target CurrencyUnit.
LazyBoundCurrencyConversion(ConversionQuery, ExchangeRateProvider, ConversionContext) - Constructor for class org.javamoney.moneta.spi.LazyBoundCurrencyConversion
 
load() - Method in class org.javamoney.moneta.internal.loader.LoadableResource
Loads the resource, first from the remote resources, if that fails from the fallback location.
load(URI, boolean) - Method in class org.javamoney.moneta.internal.loader.LoadableResource
Tries to load the data from the given location.
LoadableResource - Class in org.javamoney.moneta.internal.loader
This class represent a resource that automatically is reloaded, if needed.
LoadableResource(String, ResourceCache, LoaderService.UpdatePolicy, Map<String, String>, URI, URI...) - Constructor for class org.javamoney.moneta.internal.loader.LoadableResource
Create a new instance.
loadData(String) - Method in class org.javamoney.moneta.internal.loader.DefaultLoaderService
 
loadData(String) - Method in interface org.javamoney.moneta.spi.LoaderService
Explicitly triggers the remote loading of the registered data, regardless of its current LoaderService.UpdatePolicy configured.
loadDataAsync(String) - Method in class org.javamoney.moneta.internal.loader.DefaultLoaderService
 
loadDataAsync(String) - Method in interface org.javamoney.moneta.spi.LoaderService
Explicitly asynchronously triggers the remote loading of the registered data, regardless of its current LoaderService.UpdatePolicy configured.
loadDataLocal(String) - Method in class org.javamoney.moneta.internal.loader.DefaultLoaderService
 
loadDataLocal(String) - Method in interface org.javamoney.moneta.spi.LoaderService
Explicitly triggers the loading of the registered data, regardless of its current LoaderService.UpdatePolicy configured, from the fallback/local resource.
loadDefaultMonetaryContext() - Method in class org.javamoney.moneta.internal.FastMoneyAmountBuilder
 
loadDefaultMonetaryContext() - Method in class org.javamoney.moneta.internal.MoneyAmountBuilder
 
loadDefaultMonetaryContext() - Method in class org.javamoney.moneta.internal.RoundedMoneyAmountBuilder
 
loadDefaultMonetaryContext() - Method in class org.javamoney.moneta.spi.AbstractAmountBuilder
 
LoaderService - Interface in org.javamoney.moneta.spi
This interface defines an updatable/reloadable data cache for providing data sources that are updatable by any remote URIs.
LoaderService.LoaderListener - Interface in org.javamoney.moneta.spi
Callback that can be registered to be informed, when a data item was loaded/updated or resetToFallback.
LoaderService.UpdatePolicy - Enum in org.javamoney.moneta.spi
Platform RI: The update policy defines how and when the LoaderService tries to update the local cache with newest version of the registered data resources, accessing the configured remote URIs.
loadFallback() - Method in class org.javamoney.moneta.internal.loader.LoadableResource
Try to load the resource from the fallback resources.
loadMaxMonetaryContext() - Method in class org.javamoney.moneta.internal.FastMoneyAmountBuilder
 
loadMaxMonetaryContext() - Method in class org.javamoney.moneta.internal.MoneyAmountBuilder
 
loadMaxMonetaryContext() - Method in class org.javamoney.moneta.internal.RoundedMoneyAmountBuilder
 
loadMaxMonetaryContext() - Method in class org.javamoney.moneta.spi.AbstractAmountBuilder
 
loadRemote() - Method in class org.javamoney.moneta.internal.loader.LoadableResource
Try to load the resource from the remote locations.
log - Variable in class org.javamoney.moneta.spi.AbstractRateProvider
The logger used.
longValue() - Method in class org.javamoney.moneta.spi.DefaultNumberValue
 
longValueExact() - Method in class org.javamoney.moneta.spi.DefaultNumberValue
 

M

majorPart() - Static method in class org.javamoney.moneta.function.MonetaryUtil
Access the shared instance of MajorPart for use.
majorUnits() - Static method in class org.javamoney.moneta.function.MonetaryUtil
Access the shared instance of MajorUnits for use.
max() - Static method in class org.javamoney.moneta.function.MonetaryFunctions
Creates a BinaryOperator to calculate the maximum amount.
max(ExchangeRateProvider) - Static method in class org.javamoney.moneta.function.MonetaryFunctions
return the maximum value, if the monetary amounts have different currencies, will converter first using the given ExchangeRateProvider
MAX_VALUE - Static variable in class org.javamoney.moneta.FastMoney
Maximum possible value supported, using XX (no currency).
min() - Static method in class org.javamoney.moneta.function.MonetaryFunctions
Creates a BinaryOperator to calculate the minimum amount
min(ExchangeRateProvider) - Static method in class org.javamoney.moneta.function.MonetaryFunctions
return the minimum value, if the monetary amounts have different currencies, will converter first using the given ExchangeRateProvider
MIN_VALUE - Static variable in class org.javamoney.moneta.FastMoney
Minimum possible value supported, using XX (no currency).
minorPart() - Static method in class org.javamoney.moneta.function.MonetaryUtil
Access the shared instance of MinorPart for use.
minorUnits() - Static method in class org.javamoney.moneta.function.MonetaryUtil
Access the shared instance of MinorUnits for use.
MonetaryConfig - Class in org.javamoney.moneta.spi
Loader for the Java Money JSR configuration.
MonetaryFunctions - Class in org.javamoney.moneta.function
This singleton class provides access to the predefined monetary functions.
MonetarySummaryStatistics - Interface in org.javamoney.moneta.function
A state object for collecting statistics such as count, min, max, sum, and average.
MonetaryUtil - Class in org.javamoney.moneta.function
This singleton class provides access to the predefined monetary functions.
Money - Class in org.javamoney.moneta
Default immutable implementation of MonetaryAmount based on BigDecimal as numeric representation.
MoneyAmountBuilder - Class in org.javamoney.moneta.internal
Implementation of MonetaryAmountFactory creating instances of Money.
MoneyAmountBuilder() - Constructor for class org.javamoney.moneta.internal.MoneyAmountBuilder
 
MoneyAmountFactoryProvider - Class in org.javamoney.moneta.internal
Implementation of MonetaryAmountFactoryProviderSpi creating instances of MoneyAmountBuilder.
MoneyAmountFactoryProvider() - Constructor for class org.javamoney.moneta.internal.MoneyAmountFactoryProvider
 
MoneyUtils - Class in org.javamoney.moneta.spi
Platform RI: This utility class simplifies implementing MonetaryAmount, by providing the common functionality.
multiply(Number) - Method in class org.javamoney.moneta.FastMoney
 
multiply(double) - Method in class org.javamoney.moneta.FastMoney
 
multiply(long) - Method in class org.javamoney.moneta.FastMoney
 
multiply(long) - Method in class org.javamoney.moneta.Money
 
multiply(double) - Method in class org.javamoney.moneta.Money
 
multiply(Number) - Method in class org.javamoney.moneta.Money
 
multiply(Number) - Method in class org.javamoney.moneta.RoundedMoney
 
multiply(long) - Method in class org.javamoney.moneta.RoundedMoney
 
multiply(double) - Method in class org.javamoney.moneta.RoundedMoney
 
multiply(NumberValue, NumberValue) - Static method in class org.javamoney.moneta.spi.AbstractRateProvider
A protected helper method to multiply 2 NumberValue types.

N

negate() - Method in class org.javamoney.moneta.FastMoney
 
negate() - Method in class org.javamoney.moneta.Money
 
negate() - Method in class org.javamoney.moneta.RoundedMoney
 
newDataLoaded(String, InputStream) - Method in class org.javamoney.moneta.internal.convert.IMFRateProvider
 
newDataLoaded(String, InputStream) - Method in interface org.javamoney.moneta.spi.LoaderService.LoaderListener
Callback called from the LoaderService, when new data was read for a given data item.
numberValue(Class<T>) - Method in class org.javamoney.moneta.spi.DefaultNumberValue
 
numberValueExact(Class<T>) - Method in class org.javamoney.moneta.spi.DefaultNumberValue
 

O

of(String, CurrencyContext) - Static method in class org.javamoney.moneta.CurrencyUnitBuilder
Creates a new CurrencyUnitBuilder.
of(String, String) - Static method in class org.javamoney.moneta.CurrencyUnitBuilder
Creates a new CurrencyUnitBuilder, creates a simple CurrencyContext using the given provider name.
of(NumberValue, CurrencyUnit) - Static method in class org.javamoney.moneta.FastMoney
Static factory method for creating a new instance of FastMoney.
of(Number, CurrencyUnit) - Static method in class org.javamoney.moneta.FastMoney
Static factory method for creating a new instance of FastMoney.
of(Number, String) - Static method in class org.javamoney.moneta.FastMoney
Static factory method for creating a new instance of FastMoney.
of(BigDecimal, CurrencyUnit) - Static method in class org.javamoney.moneta.Money
Creates a new instance of Money, using the default MonetaryContext.
of(BigDecimal, CurrencyUnit, MonetaryContext) - Static method in class org.javamoney.moneta.Money
Creates a new instance of Money, using an explicit MonetaryContext.
of(Number, CurrencyUnit) - Static method in class org.javamoney.moneta.Money
Creates a new instance of Money, using the default MonetaryContext.
of(Number, CurrencyUnit, MonetaryContext) - Static method in class org.javamoney.moneta.Money
Creates a new instance of Money, using an explicit MonetaryContext.
of(Number, String) - Static method in class org.javamoney.moneta.Money
Static factory method for creating a new instance of Money.
of(BigDecimal, String) - Static method in class org.javamoney.moneta.Money
Static factory method for creating a new instance of Money.
of(Number, String, MonetaryContext) - Static method in class org.javamoney.moneta.Money
Static factory method for creating a new instance of Money.
of(BigDecimal, String, MonetaryContext) - Static method in class org.javamoney.moneta.Money
Static factory method for creating a new instance of Money.
of(BigDecimal, CurrencyUnit) - Static method in class org.javamoney.moneta.RoundedMoney
Translates a BigDecimal value and a CurrencyUnit currency into a Money.
of(BigDecimal, CurrencyUnit, MonetaryOperator) - Static method in class org.javamoney.moneta.RoundedMoney
Translates a BigDecimal value and a CurrencyUnit currency into a Money.
of(BigDecimal, CurrencyUnit, MathContext) - Static method in class org.javamoney.moneta.RoundedMoney
Translates a BigDecimal value and a CurrencyUnit currency into a Money.
of(Number, CurrencyUnit) - Static method in class org.javamoney.moneta.RoundedMoney
Static factory method for creating a new instance of RoundedMoney .
of(Number, CurrencyUnit, MonetaryOperator) - Static method in class org.javamoney.moneta.RoundedMoney
Static factory method for creating a new instance of RoundedMoney .
of(Number, CurrencyUnit, MonetaryContext) - Static method in class org.javamoney.moneta.RoundedMoney
Static factory method for creating a new instance of RoundedMoney .
of(CurrencyUnit, Number, MonetaryContext, MonetaryOperator) - Static method in class org.javamoney.moneta.RoundedMoney
Static factory method for creating a new instance of RoundedMoney .
of(Number, String) - Static method in class org.javamoney.moneta.RoundedMoney
Static factory method for creating a new instance of RoundedMoney .
of(Number, String, MonetaryOperator) - Static method in class org.javamoney.moneta.RoundedMoney
Static factory method for creating a new instance of RoundedMoney .
of(Number, String, MonetaryContext) - Static method in class org.javamoney.moneta.RoundedMoney
Static factory method for creating a new instance of RoundedMoney .
of(String, Number, MonetaryContext, MonetaryOperator) - Static method in class org.javamoney.moneta.RoundedMoney
Static factory method for creating a new instance of RoundedMoney .
of(Number) - Static method in class org.javamoney.moneta.spi.DefaultNumberValue
Creates a new instance of NumberValue, using the given number.
ONE - Static variable in class org.javamoney.moneta.spi.DefaultNumberValue
The value 1, with a scale of 0.
org.javamoney.moneta - package org.javamoney.moneta
Contains public core implementation artifacts, e.g. implementations of MonetaryAmount.
org.javamoney.moneta.format - package org.javamoney.moneta.format
Contains RI specific additions to the JSR 354 format API.
org.javamoney.moneta.function - package org.javamoney.moneta.function
Contains additional functional extensions.
org.javamoney.moneta.internal - package org.javamoney.moneta.internal
Contains format artifacts implementing CurrencyProviderSpi, MonetaryAmountFactory, MonetaryAmountFactoryProviderSpi and RoundingProviderSpi.
org.javamoney.moneta.internal.convert - package org.javamoney.moneta.internal.convert
Contains ExchangeRateProvider implementations.
org.javamoney.moneta.internal.format - package org.javamoney.moneta.internal.format
Contains format formatting implementations.
org.javamoney.moneta.internal.loader - package org.javamoney.moneta.internal.loader
Contains format loader for updating resources loaded from remote, e.g. current conversion rates.
org.javamoney.moneta.spi - package org.javamoney.moneta.spi
Defines common base classes used for implementing SPIs and the LoaderService.

P

parse(CharSequence) - Static method in class org.javamoney.moneta.FastMoney
Obtains an instance of FastMoney from a text string such as 'EUR 25.25'.
parse(CharSequence, MonetaryAmountFormat) - Static method in class org.javamoney.moneta.FastMoney
Obtains an instance of FastMoney from a text using specific formatter.
parse(ParseContext) - Method in interface org.javamoney.moneta.internal.format.FormatToken
Parse the context, based on the given ParseContext.
parse(CharSequence) - Static method in class org.javamoney.moneta.Money
Obtains an instance of Money from a text string such as 'EUR 25.25'.
parse(CharSequence, MonetaryAmountFormat) - Static method in class org.javamoney.moneta.Money
Obtains an instance of Money from a text using specific formatter.
parse(CharSequence) - Static method in class org.javamoney.moneta.RoundedMoney
Obtains an instance of RoundedMoney from a text string such as 'EUR 25.25'.
parse(CharSequence, MonetaryAmountFormat) - Static method in class org.javamoney.moneta.RoundedMoney
Obtains an instance of FastMoney from a text using specific formatter.
parseDuration(String) - Method in class org.javamoney.moneta.internal.loader.DefaultLoaderService
Parse a duration of the form HH:mm:ss:nnn, whereas only hours are non optional.
PATTERN - Static variable in class org.javamoney.moneta.format.AmountFormatParams
Allows to pass a pattern as defined by DecimalFormat.
percent(BigDecimal) - Static method in class org.javamoney.moneta.function.MonetaryUtil
Factory method creating a new instance with the given BigDecimal percent value.
percent(Number) - Static method in class org.javamoney.moneta.function.MonetaryUtil
Factory method creating a new instance with the given Number percent value.
permil(BigDecimal) - Static method in class org.javamoney.moneta.function.MonetaryUtil
Factory method creating a new instance with the given BigDecimal permil value.
permil(Number) - Static method in class org.javamoney.moneta.function.MonetaryUtil
Factory method creating a new instance with the given Number permil value.
permil(Number, MathContext) - Static method in class org.javamoney.moneta.function.MonetaryUtil
Factory method creating a new instance with the given Number permil value.
plus() - Method in class org.javamoney.moneta.FastMoney
 
plus() - Method in class org.javamoney.moneta.Money
 
plus() - Method in class org.javamoney.moneta.RoundedMoney
 
pow(int) - Method in class org.javamoney.moneta.RoundedMoney
 
print(Appendable, MonetaryAmount) - Method in interface org.javamoney.moneta.internal.format.FormatToken
Formats the given MonetaryAmount to an Appendable.
PriorityAwareServiceProvider - Class in org.javamoney.moneta.internal
This class implements the (default) ServiceProvider interface and hereby uses the JDK ServiceLoader to load the services required.
PriorityAwareServiceProvider() - Constructor for class org.javamoney.moneta.internal.PriorityAwareServiceProvider
 

Q

query(MonetaryQuery<R>) - Method in class org.javamoney.moneta.FastMoney
 
query(MonetaryQuery<R>) - Method in class org.javamoney.moneta.Money
 
query(MonetaryQuery<T>) - Method in class org.javamoney.moneta.RoundedMoney
 

R

read(String) - Method in class org.javamoney.moneta.internal.loader.DefaultResourceCache
 
read(String) - Method in interface org.javamoney.moneta.internal.loader.ResourceCache
Reads the given resource, identified by the resourceId, from the cache.
readCache() - Method in class org.javamoney.moneta.internal.loader.LoadableResource
This method is called when the data should be loaded from the cache.
reciprocal() - Static method in class org.javamoney.moneta.function.MonetaryUtil
Return a MonetaryOperator realizing the reciprocal value of f(R) = 1/R.
registerAndLoadData(String, LoaderService.UpdatePolicy, Map<String, String>, LoaderService.LoaderListener, URI, URI...) - Method in class org.javamoney.moneta.internal.loader.DefaultLoaderService
 
registerAndLoadData(String, LoaderService.UpdatePolicy, Map<String, String>, LoaderService.LoaderListener, URI, URI...) - Method in interface org.javamoney.moneta.spi.LoaderService
Programmatically registers a remote resource resourceLocation, backed up by a classpath resource backupResource, reachable as dataId and (synchronously) loads the data.
registerCurrencyUnit(CurrencyUnit) - Static method in class org.javamoney.moneta.internal.ConfigurableCurrencyUnitProvider
Registers a bew currency unit under its currency code.
registerCurrencyUnit(CurrencyUnit, Locale) - Static method in class org.javamoney.moneta.internal.ConfigurableCurrencyUnitProvider
Registers a bew currency unit under the given Locale.
registerData(String, LoaderService.UpdatePolicy, Map<String, String>, LoaderService.LoaderListener, URI, URI...) - Method in class org.javamoney.moneta.internal.loader.DefaultLoaderService
 
registerData(String, LoaderService.UpdatePolicy, Map<String, String>, LoaderService.LoaderListener, URI, URI...) - Method in interface org.javamoney.moneta.spi.LoaderService
Programmatically registers a remote resource resourceLocation, backed up by a classpath resource backupResource, reachable as dataId.
reload() - Method in class org.javamoney.moneta.internal.convert.DefaultMonetaryConversionsSingletonSpi
Reloads/reinitializes the providers found.
remainder(Number) - Method in class org.javamoney.moneta.FastMoney
 
remainder(long) - Method in class org.javamoney.moneta.FastMoney
 
remainder(double) - Method in class org.javamoney.moneta.FastMoney
 
remainder(long) - Method in class org.javamoney.moneta.Money
 
remainder(double) - Method in class org.javamoney.moneta.Money
 
remainder(Number) - Method in class org.javamoney.moneta.Money
 
remainder(Number) - Method in class org.javamoney.moneta.RoundedMoney
 
remainder(long) - Method in class org.javamoney.moneta.RoundedMoney
 
remainder(double) - Method in class org.javamoney.moneta.RoundedMoney
 
removeCurrencyUnit(String) - Static method in class org.javamoney.moneta.internal.ConfigurableCurrencyUnitProvider
Removes a CurrencyUnit.
removeCurrencyUnit(Locale) - Static method in class org.javamoney.moneta.internal.ConfigurableCurrencyUnitProvider
Removes a CurrencyUnit.
removeLoaderListener(LoaderService.LoaderListener, String...) - Method in class org.javamoney.moneta.internal.loader.DefaultLoaderService
 
removeLoaderListener(LoaderService.LoaderListener, String...) - Method in interface org.javamoney.moneta.spi.LoaderService
Remove a registered LoaderService.LoaderListener callback.
resetData(String) - Method in class org.javamoney.moneta.internal.loader.DefaultLoaderService
 
resetData(String) - Method in interface org.javamoney.moneta.spi.LoaderService
Explicitly triggers the resetToFallback (loading of the registered data from the classpath backup resource).
resetToFallback() - Method in class org.javamoney.moneta.internal.loader.LoadableResource
Explicitly override the resource wih the fallback context and resets the load counter.
ResourceCache - Interface in org.javamoney.moneta.internal.loader
Abstraction of a ResourceCache.
round(MathContext) - Method in class org.javamoney.moneta.spi.DefaultNumberValue
 
RoundedMoney - Class in org.javamoney.moneta
Platform RI: Default immutable implementation of MonetaryAmount based on BigDecimal for the numeric representation.
RoundedMoney(Number, CurrencyUnit, MonetaryOperator) - Constructor for class org.javamoney.moneta.RoundedMoney
Creates a new instance os RoundedMoney.
RoundedMoney(Number, CurrencyUnit, MathContext) - Constructor for class org.javamoney.moneta.RoundedMoney
 
RoundedMoney(Number, CurrencyUnit, MonetaryContext, MonetaryOperator) - Constructor for class org.javamoney.moneta.RoundedMoney
 
RoundedMoneyAmountBuilder - Class in org.javamoney.moneta.internal
Implementation of MonetaryAmountFactory creating instances of .RoundedMoney.
RoundedMoneyAmountBuilder() - Constructor for class org.javamoney.moneta.internal.RoundedMoneyAmountBuilder
 
RoundedMoneyAmountFactoryProvider - Class in org.javamoney.moneta.internal
Implementation of MonetaryAmountFactoryProviderSpi creating instances of RoundedMoneyAmountBuilder.
RoundedMoneyAmountFactoryProvider() - Constructor for class org.javamoney.moneta.internal.RoundedMoneyAmountFactoryProvider
 
roundFactor(MonetaryAmount, NumberValue) - Method in class org.javamoney.moneta.spi.AbstractCurrencyConversion
Optionally rounds the factor to be used.

S

scaleByPowerOfTen(int) - Method in class org.javamoney.moneta.FastMoney
 
scaleByPowerOfTen(int) - Method in class org.javamoney.moneta.Money
 
scaleByPowerOfTen(int) - Method in class org.javamoney.moneta.RoundedMoney
 
setAmount(MonetaryAmount) - Method in class org.javamoney.moneta.spi.AbstractAmountBuilder
Converts (if necessary) the given MonetaryAmount to a new MonetaryAmount instance, hereby supporting the MonetaryContext given.
setBase(CurrencyUnit) - Method in class org.javamoney.moneta.ExchangeRateBuilder
Sets the base CurrencyUnit
setContext(ConversionContext) - Method in class org.javamoney.moneta.ExchangeRateBuilder
Sets the provider to be applied.
setContext(MonetaryContext) - Method in class org.javamoney.moneta.spi.AbstractAmountBuilder
 
setCurrency(CurrencyUnit) - Method in class org.javamoney.moneta.spi.AbstractAmountBuilder
 
setCurrency(String) - Method in class org.javamoney.moneta.spi.AbstractAmountBuilder
 
setCurrencyCode(String) - Method in class org.javamoney.moneta.CurrencyUnitBuilder
Allows to set the currency code, for creating multiple instances, using one Builder.
setData(byte[]) - Method in class org.javamoney.moneta.internal.loader.LoadableResource
 
setDefaultFractionDigits(int) - Method in class org.javamoney.moneta.CurrencyUnitBuilder
Set the default fraction digits.
setFactor(NumberValue) - Method in class org.javamoney.moneta.ExchangeRateBuilder
Sets the conversion factor, as the factor base * factor = target.
setNumber(Number) - Method in class org.javamoney.moneta.spi.AbstractAmountBuilder
 
setNumber(double) - Method in class org.javamoney.moneta.spi.AbstractAmountBuilder
Creates a new instance of Monetary, using the default MonetaryContext.
setNumber(long) - Method in class org.javamoney.moneta.spi.AbstractAmountBuilder
 
setNumericCode(int) - Method in class org.javamoney.moneta.CurrencyUnitBuilder
Set the numeric code (optional).
setRate(ExchangeRate) - Method in class org.javamoney.moneta.ExchangeRateBuilder
Initialize the ExchangeRateBuilder with an ExchangeRate.
setRateChain(ExchangeRate...) - Method in class org.javamoney.moneta.ExchangeRateBuilder
Sets the ExchangeRate chain.
setRateChain(List<ExchangeRate>) - Method in class org.javamoney.moneta.ExchangeRateBuilder
Sets the ExchangeRate chain.
setTerm(CurrencyUnit) - Method in class org.javamoney.moneta.ExchangeRateBuilder
Sets the terminating (target) CurrencyUnit
signum() - Method in class org.javamoney.moneta.FastMoney
 
signum() - Method in class org.javamoney.moneta.Money
 
signum() - Method in class org.javamoney.moneta.RoundedMoney
 
sortCurrencyUnit() - Static method in class org.javamoney.moneta.function.MonetaryFunctions
Get a comparator for sorting CurrencyUnits ascending.
sortCurrencyUnitDesc() - Static method in class org.javamoney.moneta.function.MonetaryFunctions
Get a comparator for sorting CurrencyUnits descending.
sortNumber() - Static method in class org.javamoney.moneta.function.MonetaryFunctions
Get a comparator for sorting amount by number value ascending.
sortNumberDesc() - Static method in class org.javamoney.moneta.function.MonetaryFunctions
Get a comparator for sorting amount by number value descending.
sortValiable(ExchangeRateProvider) - Static method in class org.javamoney.moneta.function.MonetaryFunctions
comparator to sort the MonetaryAmount considering the ExchangeRate
sortValiableDesc(ExchangeRateProvider) - Static method in class org.javamoney.moneta.function.MonetaryFunctions
stripTrailingZeros() - Method in class org.javamoney.moneta.FastMoney
 
stripTrailingZeros() - Method in class org.javamoney.moneta.Money
 
stripTrailingZeros() - Method in class org.javamoney.moneta.RoundedMoney
 
subtract(MonetaryAmount) - Method in class org.javamoney.moneta.FastMoney
 
subtract(MonetaryAmount) - Method in class org.javamoney.moneta.Money
 
subtract(MonetaryAmount) - Method in class org.javamoney.moneta.RoundedMoney
 
sum(MonetaryAmount, MonetaryAmount) - Static method in class org.javamoney.moneta.function.MonetaryFunctions
Adds two monetary together
sum() - Static method in class org.javamoney.moneta.function.MonetaryFunctions
Creates a BinaryOperator to sum.
sum(ExchangeRateProvider, CurrencyUnit) - Static method in class org.javamoney.moneta.function.MonetaryFunctions
return the sum and convert all values to specific currency using the provider, if necessary
summarizingMonetary(CurrencyUnit) - Static method in class org.javamoney.moneta.function.MonetaryFunctions
of the summary of the MonetaryAmount
summarizingMonetary(CurrencyUnit, ExchangeRateProvider) - Static method in class org.javamoney.moneta.function.MonetaryFunctions
of the summary of the MonetaryAmount

T

to(CurrencyUnit) - Method in interface org.javamoney.moneta.function.MonetarySummaryStatistics
created the MonetarySummaryStatistics converted to CurrencyUnit
toString() - Method in class org.javamoney.moneta.ExchangeRateBuilder
 
toString() - Method in class org.javamoney.moneta.FastMoney
 
toString() - Method in class org.javamoney.moneta.function.GroupMonetarySummaryStatistics
 
toString() - Method in class org.javamoney.moneta.internal.ConfigurableCurrencyUnitProvider
 
toString() - Method in class org.javamoney.moneta.internal.JDKCurrencyAdapter
toString() - Method in class org.javamoney.moneta.internal.loader.DefaultLoaderService
 
toString() - Method in class org.javamoney.moneta.internal.loader.DefaultResourceCache
 
toString() - Method in class org.javamoney.moneta.internal.loader.LoadableResource
 
toString() - Method in class org.javamoney.moneta.Money
 
toString() - Method in class org.javamoney.moneta.RoundedMoney
 
toString() - Method in class org.javamoney.moneta.spi.AbstractCurrencyConversion
 
toString() - Method in class org.javamoney.moneta.spi.DefaultNumberValue
 
toString() - Method in class org.javamoney.moneta.spi.LazyBoundCurrencyConversion
 

U

ulp() - Method in class org.javamoney.moneta.RoundedMoney
 
unload(String) - Method in class org.javamoney.moneta.internal.loader.DefaultLoaderService
Removes a resource managed.
unload() - Method in class org.javamoney.moneta.internal.loader.LoadableResource
 

V

valueOf(String) - Static method in enum org.javamoney.moneta.ExchangeRateType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.javamoney.moneta.format.CurrencyStyle
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.javamoney.moneta.spi.ConvertBigDecimal
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.javamoney.moneta.spi.LoaderService.UpdatePolicy
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.javamoney.moneta.ExchangeRateType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.javamoney.moneta.format.CurrencyStyle
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.javamoney.moneta.spi.ConvertBigDecimal
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.javamoney.moneta.spi.LoaderService.UpdatePolicy
Returns an array containing the constants of this enum type, in the order they are declared.

W

with(MonetaryOperator) - Method in class org.javamoney.moneta.FastMoney
 
with(MonetaryOperator) - Method in class org.javamoney.moneta.Money
 
with(Number) - Method in class org.javamoney.moneta.RoundedMoney
 
with(CurrencyUnit) - Method in class org.javamoney.moneta.RoundedMoney
Creates a new Money instance, by just replacing the CurrencyUnit.
with(CurrencyUnit, Number) - Method in class org.javamoney.moneta.RoundedMoney
 
with(MonetaryOperator) - Method in class org.javamoney.moneta.RoundedMoney
 
with(ConversionContext) - Method in class org.javamoney.moneta.spi.AbstractCurrencyConversion
 
with(ConversionContext) - Method in class org.javamoney.moneta.spi.LazyBoundCurrencyConversion
 
write(String, byte[]) - Method in class org.javamoney.moneta.internal.loader.DefaultResourceCache
 
write(String, byte[]) - Method in interface org.javamoney.moneta.internal.loader.ResourceCache
Write the given byte array to the format store and register it on the given resource ID.
writeCache() - Method in class org.javamoney.moneta.internal.loader.LoadableResource
This method is called after data could be successfully loaded from a non fallback resource.
A B C D E F G H I J L M N O P Q R S T U V W 
Skip navigation links

Copyright © 2012-2015 JavaMoney. All Rights Reserved.