## Uses of Classcom.opengamma.strata.basics.currency.FxMatrixBuilder

• Packages that use FxMatrixBuilder
Package Description
com.opengamma.strata.basics.currency
Representations of currency and money.
• ### Uses of FxMatrixBuilder in com.opengamma.strata.basics.currency

Methods in com.opengamma.strata.basics.currency that return FxMatrixBuilder
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.
Methods in com.opengamma.strata.basics.currency that return types with arguments of type FxMatrixBuilder
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.