Code example for NumberFormat

Methods: equals

0
        AbstractPieItemLabelGenerator that 
            = (AbstractPieItemLabelGenerator) obj;
        if (!this.labelFormat.equals(that.labelFormat)) {
            return false; 
        } 
        if (!this.numberFormat.equals(that.numberFormat)) {
            return false;    
        } 
        if (!this.percentFormat.equals(that.percentFormat)) {
            return false;    
        } 
        return true; 
 
    } 
     
    /** 
     * Returns an independent copy of the generator. 
     *  
     * @return A clone. 
     *  
     * @throws CloneNotSupportedException  should not happen.