Uses of Class
com.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 Description FxMatrixBuilder
FxMatrixBuilder. addRate(CurrencyPair currencyPair, double rate)
Adds a new rate for a currency pair to the builder.FxMatrixBuilder
FxMatrixBuilder. addRate(Currency ccy1, Currency ccy2, double rate)
Add a new pair of currencies 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 ofFxMatrix
.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 Description static Collector<? super Map.Entry<CurrencyPair,Double>,FxMatrixBuilder,FxMatrix>
FxMatrix. entriesToFxMatrix()
Creates aCollector
that allows aMap.Entry
of currency pair to rate to be streamed and collected into a newFxMatrix
.static Collector<? super Pair<CurrencyPair,Double>,FxMatrixBuilder,FxMatrix>
FxMatrix. pairsToFxMatrix()
Creates aCollector
that allows a collection of pairs each containing a currency pair and a rate to be streamed and collected into a newFxMatrix
.
-