Skip to content
This repository has been archived by the owner on May 26, 2021. It is now read-only.

Clarify Quantity.equals() #158

Closed
keilw opened this issue May 29, 2017 · 1 comment
Closed

Clarify Quantity.equals() #158

keilw opened this issue May 29, 2017 · 1 comment

Comments

@keilw
Copy link
Member

keilw commented May 29, 2017

Clarify effect of #156 in JavaDoc of concrete sub-classes. While AbstractQuantity in the absense of a concrete value still does a strict check, it should be noted, sub-classes can and usually do handle this in a more "semantic" way by checking the meanin of a value rather than its strict Java type.

Plus refining primitive comparison so only compatible types like "floating point" or "integer" ones get compared in a resource-effective manner.

@keilw keilw changed the title Clarify equals() in JavaDoc Clarify equals() May 29, 2017
@keilw keilw added the ready label May 30, 2017
@keilw keilw changed the title Clarify equals() Clarify Quantity.equals() Jun 19, 2017
@keilw
Copy link
Member Author

keilw commented Mar 4, 2018

Closing this, created unitsofmeasurement/indriya#33 for Indriya

@keilw keilw closed this as completed Mar 4, 2018
@keilw keilw removed the ready label Mar 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant