450451452453454455456457458459460
if (obj == this) { return true; } try { NumericShaper ns = (NumericShaper)obj; return (fRanges == ns.fRanges && fDefaultContextIndex == ns.fDefaultContextIndex && fContextual == ns.fContextual); } catch (ClassCastException e){ }
515516517518519520521
public static NumericShaper getContextualShaper(int ranges, int defaultContext) { ranges &= ALL_RANGES; defaultContext &= ALL_RANGES; return new NumericShaper(ranges, defaultContext, true); }
520521522523524525526
return new NumericShaper(ranges, defaultContext, true); } public static NumericShaper getContextualShaper(int ranges) { ranges &= ALL_RANGES; return new NumericShaper(ranges, EUROPEAN, true); }
529530531532533534535
return fRanges; } public static NumericShaper getShaper(int singleRange) { singleRange &= ALL_RANGES; return new NumericShaper(singleRange, EUROPEAN, false); }