Code example for NumberFormat

Methods: equals

0
        } 
        HighLowItemLabelGenerator generator = (HighLowItemLabelGenerator) obj;
        if (!this.dateFormatter.equals(generator.dateFormatter)) {
            return false; 
        } 
        if (!this.numberFormatter.equals(generator.numberFormatter)) {
            return false;    
        } 
        return true; 
    } 
     
    /** 
     * Returns a hash code for this instance. 
     *  
     * @return A hash code. 
     */ 
    public int hashCode() { 
        int result = 127;
         
        //TODO:port HashUtilities 
//        result = HashUtilities.hashCode(result, this.dateFormatter);