Clarify specification of object-equality Ordering
Closed this issue · 0 comments
NthPortal commented
Clarify specification of object-equality Ordering
for SemVer
such that:
- it is identical to the default
Ordering
forSemVer
instances with different precedence according to the SemVer specification - for
SemVer
instances with the same precedence according to the SemVer specification, theOrdering
is only specified insofar as that two instances that areequal
yield zero when compared, and two instances that are notequal
yield a non-zero value when compared. the result of comparison is not otherwise specified, and may change between JVM/platform runs or between arbitrary library releases.