| Package | Description |
|---|---|
| com.opengamma.strata.basics.currency |
Representations of currency and money.
|
| Modifier and Type | Method and Description |
|---|---|
FxMatrixBuilder |
FxMatrixBuilder.addRate(Currency ccy1,
Currency ccy2,
double rate)
Add a new pair of currencies to the builder.
|
FxMatrixBuilder |
FxMatrixBuilder.addRate(CurrencyPair currencyPair,
double rate)
Adds a new rate for a currency pair to the builder.
|
FxMatrixBuilder |
FxMatrixBuilder.addRates(Map<CurrencyPair,Double> rates)
Adds a collection of new rates for currency pairs to the builder.
|
static FxMatrixBuilder |
FxMatrix.builder()
Creates a builder that can be used to build instances of
FxMatrix. |
FxMatrixBuilder |
FxMatrix.toBuilder()
Creates a new builder using the data from this matrix to
create a set of initial entries.
|
| Modifier and Type | Method and Description |
|---|---|
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. |
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.