Code example for NumberFormat

Methods: equals

0
            return false; 
        } 
        if (!this.numberFormat.equals(that.numberFormat)) {
            return false; 
        } 
        if (!this.percentFormat.equals(that.percentFormat)) {
            return false; 
        } 
        return true; 
 
    } 
 
 
    /** 
     * Returns a hash code for this instance. 
     * 
     * @return A hash code. 
     */ 
    public int hashCode() { 
        int result = 127;
        result = HashUtilities.hashCode(result, this.labelFormat);