## Uses of Classcom.opengamma.strata.basics.currency.BigMoney

• Packages that use BigMoney
Package Description
com.opengamma.strata.basics.currency
Representations of currency and money.
• ### Uses of BigMoney in com.opengamma.strata.basics.currency

Methods in com.opengamma.strata.basics.currency that return BigMoney
Modifier and Type Method Description
BigMoney BigMoney.convertedTo​(Currency resultCurrency, FxRateProvider rateProvider)
Converts this amount to an equivalent amount in the specified currency.
BigMoney BigMoney.convertedTo​(Currency resultCurrency, Decimal fxRate)
Converts this amount to an equivalent amount the specified currency.
BigMoney BigMoney.convertedTo​(Currency resultCurrency, BigDecimal fxRate)
Converts this amount to an equivalent amount the specified currency.
BigMoney BigMoney.map​(UnaryOperator<Decimal> mapper)
Applies an operation to the amount.
BigMoney BigMoney.mapAmount​(UnaryOperator<BigDecimal> mapper)
Deprecated.
Use map(UnaryOperator), potentially using a lambda decimal -> decimal.mapAsBigDecimal(mapper)
BigMoney BigMoney.minus​(BigMoney amountToSubtract)
Returns a copy of this BigMoney with the specified amount subtracted.
BigMoney BigMoney.multipliedBy​(long valueToMultiplyBy)
Returns a copy of this BigMoney with the amount multiplied.
BigMoney BigMoney.negated()
Returns a copy of this BigMoney with the amount negated.
BigMoney BigMoney.negative()
Returns a copy of this BigMoney with a negative amount.
static BigMoney BigMoney.of​(CurrencyAmount currencyAmount)
Obtains an instance of BigMoney for the specified CurrencyAmount.
static BigMoney BigMoney.of​(Currency currency, double amount)
Obtains an instance of BigMoney for the specified currency and amount.
static BigMoney BigMoney.of​(Currency currency, Decimal amount)
Obtains an instance of BigMoney for the specified currency and amount.
static BigMoney BigMoney.of​(Currency currency, BigDecimal amount)
Obtains an instance of BigMoney for the specified currency and amount.
static BigMoney BigMoney.of​(Money money)
Obtains an instance of BigMoney for the specified Money.
static BigMoney BigMoney.parse​(String amountStr)
Parses the string to produce a BigMoney.
BigMoney BigMoney.plus​(BigMoney amountToAdd)
Returns a copy of this BigMoney with the specified amount added.
BigMoney BigMoney.positive()
Returns a copy of this BigMoney with a positive amount.
BigMoney CurrencyAmount.toBigMoney()
Converts this monetary amount to the equivalent BigMoney.
BigMoney Money.toBigMoney()
Converts this monetary amount to the equivalent BigMoney.
static BigMoney BigMoney.zero​(Currency currency)
Obtains a zero amount instance of BigMoney for the specified currency.
Methods in com.opengamma.strata.basics.currency with parameters of type BigMoney
Modifier and Type Method Description
int BigMoney.compareTo​(BigMoney other)
Compares this money to another.
BigMoney BigMoney.minus​(BigMoney amountToSubtract)
Returns a copy of this BigMoney with the specified amount subtracted.
static Money Money.of​(BigMoney money)
Obtains an instance of Money for the specified BigMoney.
BigMoney BigMoney.plus​(BigMoney amountToAdd)
Returns a copy of this BigMoney with the specified amount added.