- empty
Obtains an empty FX matrix. The result contains no currencies or rates.
- of
Obtains an instance containing a single FX rate. This is most likely to be used
in testing.
An inv
- builder
Creates a builder that can be used to build instances of FxMatrix.
- convert
Converts a MultipleCurrencyAmount into an amount in the specified currency using
the rates in this m
- fxRate
Gets the FX rate for the specified currency pair. The rate returned is the rate
from the base curren
- getCurrencies
Returns the set of currencies held within this matrix.
- toBuilder
Creates a new builder using the data from this matrix to create a set of initial
entries.
- <init>
Creates an instance.
- collector
- entriesToFxMatrix
Creates a Collector that allows a Map.Entry of currency pair to rate to be
streamed and collected in
- equals
- getRates
Gets the matrix with all the exchange rates. Each row represents the rates
required to convert a uni