On Wed, 3 Mar 2021 22:20:45 GMT, Joe Darcy wrote:
> The class BigDecimal can be and sometimes is subclassed. The spec of
> BigDecimal.hashCode is improved slightly by explicitly stating it is a
> function of the unscaled value and the scale of the BigDecimal, the same
> fields examined by equa
The class BigDecimal can be and sometimes is subclassed. The spec of
BigDecimal.hashCode is improved slightly by explicitly stating it is a function
of the unscaled value and the scale of the BigDecimal, the same fields examined
by equals.
It is a conscious choice to *not* explicitly state what