| Package | Description |
|---|---|
| com.opengamma.strata.data.scenario |
Basic types to model market data across scenarios.
|
| Modifier and Type | Method and Description |
|---|---|
CurrencyScenarioArray |
MultiCurrencyScenarioArray.convertedTo(Currency reportingCurrency,
ScenarioFxRateProvider fxRateProvider) |
CurrencyScenarioArray |
CurrencyScenarioArray.convertedTo(Currency reportingCurrency,
ScenarioFxRateProvider fxRateProvider) |
CurrencyScenarioArray |
CurrencyScenarioArray.minus(CurrencyAmount amount)
Returns a new array containing the values from this array with the specified amount subtracted.
|
CurrencyScenarioArray |
CurrencyScenarioArray.minus(CurrencyScenarioArray other)
Returns a new array containing the values from this array with the values from the other array subtracted.
|
static CurrencyScenarioArray |
CurrencyScenarioArray.of(CurrencyAmountArray amounts)
Obtains an instance from the specified currency and array of values.
|
static CurrencyScenarioArray |
CurrencyScenarioArray.of(Currency currency,
DoubleArray values)
Obtains an instance from the specified currency and array of values.
|
static CurrencyScenarioArray |
CurrencyScenarioArray.of(int size,
IntFunction<CurrencyAmount> amountFunction)
Obtains an instance using a function to create the entries.
|
static CurrencyScenarioArray |
CurrencyScenarioArray.of(List<CurrencyAmount> amounts)
Obtains an instance from the specified list of amounts.
|
CurrencyScenarioArray |
CurrencyScenarioArray.plus(CurrencyAmount amount)
Returns a new array containing the values from this array with the specified amount added.
|
CurrencyScenarioArray |
CurrencyScenarioArray.plus(CurrencyScenarioArray 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 CurrencyScenarioArray> |
CurrencyScenarioArray.Meta.beanType() |
org.joda.beans.BeanBuilder<? extends CurrencyScenarioArray> |
CurrencyScenarioArray.Meta.builder() |
static Collector<CurrencyScenarioArray,?,MultiCurrencyScenarioArray> |
MultiCurrencyScenarioArray.toMultiCurrencyScenarioArray()
Returns a collector which creates a multi currency scenario array by combining a stream of
currency scenario arrays.
|
| Modifier and Type | Method and Description |
|---|---|
CurrencyScenarioArray |
CurrencyScenarioArray.minus(CurrencyScenarioArray other)
Returns a new array containing the values from this array with the values from the other array subtracted.
|
CurrencyScenarioArray |
CurrencyScenarioArray.plus(CurrencyScenarioArray 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 MultiCurrencyScenarioArray |
MultiCurrencyScenarioArray.total(Iterable<CurrencyScenarioArray> arrays)
Returns a multi currency scenario 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.