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 FxMatrixBuilderFxMatrixBuilder. addRate(CurrencyPair currencyPair, double rate)Adds a new rate for a currency pair to the builder.FxMatrixBuilderFxMatrixBuilder. addRate(Currency ccy1, Currency ccy2, double rate)Add a new pair of currencies to the builder.FxMatrixBuilderFxMatrixBuilder. addRates(Map<CurrencyPair,Double> rates)Adds a collection of new rates for currency pairs to the builder.static FxMatrixBuilderFxMatrix. builder()Creates a builder that can be used to build instances ofFxMatrix.FxMatrixBuilderFxMatrix. 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 aCollectorthat allows aMap.Entryof currency pair to rate to be streamed and collected into a newFxMatrix.static Collector<? super Pair<CurrencyPair,Double>,FxMatrixBuilder,FxMatrix>FxMatrix. pairsToFxMatrix()Creates aCollectorthat allows a collection of pairs each containing a currency pair and a rate to be streamed and collected into a newFxMatrix.
-