Code example for NumberFormat

Methods: hashCode

0
        long temp = Double.doubleToLongBits(this.base);
        result = 37 * result + (int) (temp ^ (temp >>> 32));
        temp = Double.doubleToLongBits(this.smallestValue);
        result = 37 * result + (int) (temp ^ (temp >>> 32));
        if (this.numberFormatOverride != null) {
            result = 37 * result + this.numberFormatOverride.hashCode();
        } 
        result = 37 * result + this.tickUnit.hashCode();
        return result;
    } 
 
    /** 
     * Returns a collection of tick units for log (base 10) values. 
     * Uses a given Locale to create the DecimalFormats. 
     * 
     * @param locale the locale to use to represent Numbers. 
     * 
     * @return A collection of tick units for integer values. 
     * 
     * @since 1.0.7 
     */