equals
Compares this BigDecimal with the specified Object for equality. Unlike BigDecimal.compareTo, this method considers two BigDecimal objects equal only if they are equal in value and _scale (thus 2.0 is not equal to 2.00 when compared by this method).
Return
true if and only if the specified Object is a BigDecimal whose value and _scale are equal to this BigDecimal's.
See also
.hashCode
Parameters
other
Object to which this BigDecimal is to be compared.