Package | Description |
---|---|
org.javamoney.moneta |
Contains public core implementation artifacts, e.g. implementations of
MonetaryAmount . |
org.javamoney.moneta.internal |
Contains internal artifacts implementing
CurrencyProviderSpi ,
MonetaryAmountFactory ,
MonetaryAmountFactoryProviderSpi and RoundingProviderSpi . |
Modifier and Type | Method and Description |
---|---|
RoundedMoney |
RoundedMoney.abs() |
RoundedMoney |
RoundedMoney.add(javax.money.MonetaryAmount amount) |
RoundedMoney |
RoundedMoney.divide(double amount) |
RoundedMoney |
RoundedMoney.divide(long amount) |
RoundedMoney |
RoundedMoney.divide(Number divisor) |
RoundedMoney[] |
RoundedMoney.divideAndRemainder(double amount) |
RoundedMoney[] |
RoundedMoney.divideAndRemainder(long amount) |
RoundedMoney[] |
RoundedMoney.divideAndRemainder(Number divisor) |
RoundedMoney |
RoundedMoney.divideToIntegralValue(double divisor) |
RoundedMoney |
RoundedMoney.divideToIntegralValue(long divisor) |
RoundedMoney |
RoundedMoney.divideToIntegralValue(Number divisor) |
static RoundedMoney |
RoundedMoney.from(javax.money.MonetaryAmount amt) |
RoundedMoney |
RoundedMoney.multiply(double amount) |
RoundedMoney |
RoundedMoney.multiply(long amount) |
RoundedMoney |
RoundedMoney.multiply(Number multiplicand) |
RoundedMoney |
RoundedMoney.negate() |
static RoundedMoney |
RoundedMoney.of(BigDecimal number,
javax.money.CurrencyUnit currency)
Translates a
BigDecimal value and a CurrencyUnit currency into a
Money . |
static RoundedMoney |
RoundedMoney.of(BigDecimal number,
javax.money.CurrencyUnit currency,
MathContext mathContext)
Translates a
BigDecimal value and a CurrencyUnit currency into a
Money . |
static RoundedMoney |
RoundedMoney.of(BigDecimal number,
javax.money.CurrencyUnit currency,
javax.money.MonetaryOperator rounding)
Translates a
BigDecimal value and a CurrencyUnit currency into a
Money . |
static RoundedMoney |
RoundedMoney.of(javax.money.CurrencyUnit currency,
Number number,
javax.money.MonetaryContext monetaryContext,
javax.money.MonetaryOperator rounding)
Static factory method for creating a new instance of
RoundedMoney . |
static RoundedMoney |
RoundedMoney.of(Number number,
javax.money.CurrencyUnit currency)
Static factory method for creating a new instance of
RoundedMoney . |
static RoundedMoney |
RoundedMoney.of(Number number,
javax.money.CurrencyUnit currency,
javax.money.MonetaryContext monetaryContext)
Static factory method for creating a new instance of
RoundedMoney . |
static RoundedMoney |
RoundedMoney.of(Number number,
javax.money.CurrencyUnit currency,
javax.money.MonetaryOperator rounding)
Static factory method for creating a new instance of
RoundedMoney . |
static RoundedMoney |
RoundedMoney.of(Number number,
String currencyCode)
Static factory method for creating a new instance of
RoundedMoney . |
static RoundedMoney |
RoundedMoney.of(Number number,
String currencyCode,
javax.money.MonetaryContext monetaryContext)
Static factory method for creating a new instance of
RoundedMoney . |
static RoundedMoney |
RoundedMoney.of(Number number,
String currencyCode,
javax.money.MonetaryOperator rounding)
Static factory method for creating a new instance of
RoundedMoney . |
static RoundedMoney |
RoundedMoney.of(String currencyCode,
Number number,
javax.money.MonetaryContext monetaryContext,
javax.money.MonetaryOperator rounding)
Static factory method for creating a new instance of
RoundedMoney . |
static RoundedMoney |
RoundedMoney.parse(CharSequence text)
Obtains an instance of RoundedMoney from a text string such as 'EUR
25.25'.
|
static RoundedMoney |
RoundedMoney.parse(CharSequence text,
javax.money.format.MonetaryAmountFormat formatter)
Obtains an instance of FastMoney from a text using specific formatter.
|
RoundedMoney |
RoundedMoney.plus() |
RoundedMoney |
RoundedMoney.pow(int n) |
RoundedMoney |
RoundedMoney.remainder(double amount) |
RoundedMoney |
RoundedMoney.remainder(long amount) |
RoundedMoney |
RoundedMoney.remainder(Number divisor) |
RoundedMoney |
RoundedMoney.scaleByPowerOfTen(int n) |
RoundedMoney |
RoundedMoney.stripTrailingZeros() |
RoundedMoney |
RoundedMoney.subtract(javax.money.MonetaryAmount subtrahend) |
RoundedMoney |
RoundedMoney.ulp() |
RoundedMoney |
RoundedMoney.with(javax.money.CurrencyUnit currency)
Creates a new Money instance, by just replacing the
CurrencyUnit . |
RoundedMoney |
RoundedMoney.with(javax.money.CurrencyUnit currency,
Number amount) |
RoundedMoney |
RoundedMoney.with(javax.money.MonetaryOperator operator) |
RoundedMoney |
RoundedMoney.with(Number amount) |
Modifier and Type | Method and Description |
---|---|
javax.money.MonetaryAmountFactory<RoundedMoney> |
RoundedMoney.getFactory() |
Modifier and Type | Method and Description |
---|---|
protected RoundedMoney |
RoundedMoneyAmountBuilder.create(Number number,
javax.money.CurrencyUnit currency,
javax.money.MonetaryContext monetaryContext) |
Modifier and Type | Method and Description |
---|---|
javax.money.MonetaryAmountFactory<RoundedMoney> |
RoundedMoneyAmountFactoryProvider.createMonetaryAmountFactory() |
Class<RoundedMoney> |
RoundedMoneyAmountFactoryProvider.getAmountType() |
Class<RoundedMoney> |
RoundedMoneyAmountBuilder.getAmountType() |
Copyright © 2012-2015 JavaMoney. All Rights Reserved.