Code example for BigInteger

Methods: equals

0
        { 
            return false; 
        } 
 
        SimpleBigDecimal other = (SimpleBigDecimal)o;
        return ((bigInt.equals(other.bigInt)) && (scale == other.scale));
    } 
 
    public int hashCode() 
    { 
        return bigInt.hashCode() ^ scale;
    } 
 
}