Uses of Class
com.opengamma.strata.basics.currency.CurrencyAmountArray
-
Packages that use CurrencyAmountArray Package Description com.opengamma.strata.basics.currency Representations of currency and money.com.opengamma.strata.data.scenario Basic types to model market data across scenarios. -
-
Uses of CurrencyAmountArray in com.opengamma.strata.basics.currency
Methods in com.opengamma.strata.basics.currency that return CurrencyAmountArray Modifier and Type Method Description CurrencyAmountArray
CurrencyAmountArray. convertedTo(Currency resultCurrency, FxRateProvider fxRateProvider)
CurrencyAmountArray
MultiCurrencyAmountArray. 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(int size, IntFunction<CurrencyAmount> valueFunction)
Obtains an instance using a function to create the entries.static CurrencyAmountArray
CurrencyAmountArray. of(Currency currency, DoubleArray values)
Obtains an instance from the specified currency and array of values.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.Methods in com.opengamma.strata.basics.currency that return types with arguments of type CurrencyAmountArray Modifier and Type Method 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.Methods in com.opengamma.strata.basics.currency with parameters of type CurrencyAmountArray Modifier and Type Method 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.Method parameters in com.opengamma.strata.basics.currency with type arguments of type CurrencyAmountArray Modifier and Type Method Description static MultiCurrencyAmountArray
MultiCurrencyAmountArray. total(Iterable<CurrencyAmountArray> arrays)
Returns a multi currency amount array representing the total of the input arrays. -
Uses of CurrencyAmountArray in com.opengamma.strata.data.scenario
Methods in com.opengamma.strata.data.scenario that return CurrencyAmountArray Modifier and Type Method Description CurrencyAmountArray
CurrencyScenarioArray. getAmounts()
Gets the currency amounts, one per scenario.Methods in com.opengamma.strata.data.scenario that return types with arguments of type CurrencyAmountArray Modifier and Type Method Description org.joda.beans.MetaProperty<CurrencyAmountArray>
CurrencyScenarioArray.Meta. amounts()
The meta-property for theamounts
property.Methods in com.opengamma.strata.data.scenario with parameters of type CurrencyAmountArray Modifier and Type Method Description static CurrencyScenarioArray
CurrencyScenarioArray. of(CurrencyAmountArray amounts)
Obtains an instance from the specified currency and array of values.
-