| Package | Description |
|---|---|
| com.opengamma.strata.basics.currency |
Representations of currency and money.
|
| Modifier and Type | Method and Description |
|---|---|
CurrencyAmountArray |
MultiCurrencyAmountArray.convertedTo(Currency resultCurrency,
FxRateProvider fxRateProvider) |
CurrencyAmountArray |
CurrencyAmountArray.convertedTo(Currency resultCurrency,
FxRateProvider fxRateProvider) |
CurrencyAmountArray |
CurrencyAmountArray.minus(CurrencyAmount amount)
Returns a new array containing the values from this array with the specified amount subtracted.
|
CurrencyAmountArray |
CurrencyAmountArray.minus(CurrencyAmountArray other)
Returns a new array containing the values from this array with the values from the other array subtracted.
|
static CurrencyAmountArray |
CurrencyAmountArray.of(Currency currency,
DoubleArray values)
Obtains an instance from the specified currency and array of values.
|
static CurrencyAmountArray |
CurrencyAmountArray.of(int size,
IntFunction<CurrencyAmount> valueFunction)
Obtains an instance using a function to create the entries.
|
static CurrencyAmountArray |
CurrencyAmountArray.of(List<CurrencyAmount> amounts)
Obtains an instance from the specified list of amounts.
|
CurrencyAmountArray |
CurrencyAmountArray.plus(CurrencyAmount amount)
Returns a new array containing the values from this array with the specified amount added.
|
CurrencyAmountArray |
CurrencyAmountArray.plus(CurrencyAmountArray other)
Returns a new array containing the values from this array added to the values in the other array.
|
| Modifier and Type | Method and Description |
|---|---|
Class<? extends CurrencyAmountArray> |
CurrencyAmountArray.Meta.beanType() |
org.joda.beans.BeanBuilder<? extends CurrencyAmountArray> |
CurrencyAmountArray.Meta.builder() |
static Collector<CurrencyAmountArray,?,MultiCurrencyAmountArray> |
MultiCurrencyAmountArray.toMultiCurrencyAmountArray()
Returns a collector which creates a multi currency amount array by combining a stream of
currency amount arrays.
|
| Modifier and Type | Method and Description |
|---|---|
CurrencyAmountArray |
CurrencyAmountArray.minus(CurrencyAmountArray other)
Returns a new array containing the values from this array with the values from the other array subtracted.
|
CurrencyAmountArray |
CurrencyAmountArray.plus(CurrencyAmountArray other)
Returns a new array containing the values from this array added to the values in the other array.
|
| Modifier and Type | Method and Description |
|---|---|
static MultiCurrencyAmountArray |
MultiCurrencyAmountArray.total(Iterable<CurrencyAmountArray> arrays)
Returns a multi currency amount array representing the total of the input arrays.
|
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.