BigDecimal.equals
Class Overview | Class Members |
This Package |
All Packages
public boolean equals( Object x )
Description
Returns true iff x is a BigDecimal whose value is equal to this number.
This method is provided so that BigDecimals can be used as hash keys.
Unlike compareTo, this method considers two BigDecimals equal only
if they are equal in value and scale.
Overrides
equals in class Object