Code example for NumberFormat

Methods: clone

0
 
        if (this.dateFormatter != null) {
            clone.dateFormatter = (DateFormat) this.dateFormatter.clone();
        } 
        if (this.numberFormatter != null) {
            clone.numberFormatter = (NumberFormat) this.numberFormatter.clone();
        } 
         
        return clone;
         
    } 
     
    /** 
     * Tests if this object is equal to another. 
     * 
     * @param obj  the other object. 
     * 
     * @return A boolean. 
     */ 
    public boolean equals(Object obj) {
        if (obj == this) {