You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implementing classes like AbstractConverter contain methods like Optional<Number> linearFactor() which most subclasses use for its getValue() numeric method. The MultiplyConverter interface defines a getFactor() method also returning that value by default. So while it is a string in a few cases even there a numeric factor or formula of some kind exists, thus would it make sense to expose this value in future versions of UnitConverter?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Implementing classes like
AbstractConverter
contain methods likeOptional<Number> linearFactor()
which most subclasses use for itsgetValue()
numeric method. TheMultiplyConverter
interface defines agetFactor()
method also returning that value by default. So while it is a string in a few cases even there a numeric factor or formula of some kind exists, thus would it make sense to expose this value in future versions ofUnitConverter
?Beta Was this translation helpful? Give feedback.
All reactions