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