Use Advanced Search to search the entire archive.
Order of arguments in UnitConverter.concatenate(UnitConverter)
- From: Martin Desruisseaux <
>
- To:
- Subject: Order of arguments in UnitConverter.concatenate(UnitConverter)
- Date: Fri, 05 Sep 2014 22:22:47 +0200
- Organization: Geomatys
Hello all
I just noticed UnitConverter.concatenate(UnitConverter) javadoc, which said:
Concatenates this converter with another converter. The resulting
converter is equivalent to first converting by the specified
converter (right converter), and then converting by this converter
(left converter).
This means that A.concatenate(B) is equivalent to applying *B* first,
then *A*. Is it the most natural order for peoples? I'm not asking for
change, I would just like to know if many peoples would have
instinctively expected *A* to be applied before *B*.
Martin