int |
BigMoney.compareTo(BigMoneyProvider other) |
Compares this monetary value to another.
|
int |
Money.compareTo(BigMoneyProvider other) |
Compares this monetary value to another.
|
boolean |
BigMoney.isEqual(BigMoneyProvider other) |
Checks if this monetary value is equal to another.
|
boolean |
Money.isEqual(BigMoneyProvider other) |
Checks if this monetary value is equal to another.
|
boolean |
BigMoney.isGreaterThan(BigMoneyProvider other) |
Checks if this monetary value is greater than another.
|
boolean |
Money.isGreaterThan(BigMoneyProvider other) |
Checks if this monetary value is greater than another.
|
boolean |
BigMoney.isGreaterThanOrEqual(BigMoneyProvider other) |
Checks if this monetary value is greater than or equal to another.
|
boolean |
Money.isGreaterThanOrEqual(BigMoneyProvider other) |
Checks if this monetary value is greater than or equal to another.
|
boolean |
BigMoney.isLessThan(BigMoneyProvider other) |
Checks if this monetary value is less than another.
|
boolean |
Money.isLessThan(BigMoneyProvider other) |
Checks if this monetary value is less than another.
|
boolean |
BigMoney.isLessThanOrEqual(BigMoneyProvider other) |
Checks if this monetary value is less or equal to than another.
|
boolean |
Money.isLessThanOrEqual(BigMoneyProvider other) |
Checks if this monetary value is less than or equal to another.
|
static boolean |
MoneyUtils.isNegative(BigMoneyProvider moneyProvider) |
Checks if the monetary value is negative and non-zero, treating null as zero.
|
static boolean |
MoneyUtils.isNegativeOrZero(BigMoneyProvider moneyProvider) |
Checks if the monetary value is negative or zero, treating null as zero.
|
static boolean |
MoneyUtils.isPositive(BigMoneyProvider moneyProvider) |
Checks if the monetary value is positive and non-zero, treating null as zero.
|
static boolean |
MoneyUtils.isPositiveOrZero(BigMoneyProvider moneyProvider) |
Checks if the monetary value is positive or zero, treating null as zero.
|
boolean |
BigMoney.isSameCurrency(BigMoneyProvider money) |
Checks if this instance and the specified instance have the same currency.
|
boolean |
Money.isSameCurrency(BigMoneyProvider other) |
Checks if this instance and the specified instance have the same currency.
|
static boolean |
MoneyUtils.isZero(BigMoneyProvider moneyProvider) |
Checks if the monetary value is zero, treating null as zero.
|
BigMoney |
BigMoney.minus(BigMoneyProvider moneyToSubtract) |
Returns a copy of this monetary value with the amount subtracted.
|
BigMoney |
BigMoney.minusRetainScale(BigMoneyProvider moneyToSubtract,
RoundingMode roundingMode) |
Returns a copy of this monetary value with the amount in the same currency subtracted
retaining the scale by rounding the result.
|
static BigMoney |
BigMoney.of(BigMoneyProvider moneyProvider) |
Obtains an instance of BigMoney from a provider.
|
static Money |
Money.of(BigMoneyProvider moneyProvider) |
Obtains an instance of Money from a provider.
|
static Money |
Money.of(BigMoneyProvider moneyProvider,
RoundingMode roundingMode) |
Obtains an instance of Money from a provider, rounding as necessary.
|
BigMoney |
BigMoney.plus(BigMoneyProvider moneyToAdd) |
Returns a copy of this monetary value with the amount added.
|
BigMoney |
BigMoney.plusRetainScale(BigMoneyProvider moneyToAdd,
RoundingMode roundingMode) |
Returns a copy of this monetary value with the amount in the same currency added
retaining the scale by rounding the result.
|
static BigMoney |
BigMoney.total(BigMoneyProvider... monies) |
Obtains an instance of BigMoney as the total value of an array.
|
static BigMoney |
BigMoney.total(CurrencyUnit currency,
BigMoneyProvider... monies) |
Obtains an instance of Money as the total value of
a possibly empty array.
|