| Package | Description |
|---|---|
| com.opengamma.strata.basics.currency |
Representations of currency and money.
|
| Modifier and Type | Method and Description |
|---|---|
FxMatrix |
FxMatrixBuilder.build()
Build a new
FxMatrix from the data in the builder. |
static FxMatrix |
FxMatrix.empty()
Obtains an empty FX matrix.
|
FxMatrix |
FxMatrix.merge(FxMatrix other)
Merges the entries from the other matrix into this one.
|
static FxMatrix |
FxMatrix.of(Currency ccy1,
Currency ccy2,
double rate)
Obtains an instance containing a single FX rate.
|
static FxMatrix |
FxMatrix.of(CurrencyPair currencyPair,
double rate)
Obtains an instance containing a single FX rate.
|
| Modifier and Type | Method and Description |
|---|---|
Class<? extends FxMatrix> |
FxMatrix.Meta.beanType() |
org.joda.beans.BeanBuilder<? extends FxMatrix> |
FxMatrix.Meta.builder() |
static Collector<? super Map.Entry<CurrencyPair,Double>,FxMatrixBuilder,FxMatrix> |
FxMatrix.entriesToFxMatrix()
Creates a
Collector that allows a Map.Entry of currency pair to rate
to be streamed and collected into a new FxMatrix. |
static Collector<? super Pair<CurrencyPair,Double>,FxMatrixBuilder,FxMatrix> |
FxMatrix.pairsToFxMatrix()
Creates a
Collector that allows a collection of pairs each containing
a currency pair and a rate to be streamed and collected into a new FxMatrix. |
| Modifier and Type | Method and Description |
|---|---|
FxMatrix |
FxMatrix.merge(FxMatrix other)
Merges the entries from the other matrix into this one.
|
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.