/** * Gets a NumericShaper for the specified unicode range. * The NumericShaper supports only a single range and * hence is not contextual. * * @param singleRange the specified unicode single range. * * @return the NumericShaper for the specified unicode range. */ public static NumericShaper getShaper(int singleRange) { singleRange &= ALL_RANGES; return new NumericShaper(singleRange, EUROPEAN, false); }
/** * Gets the NumericShaper for the specified unicode ranges. * The OR logical operation should be used for multiple ranges: * NumericShaper.DEVANAGARI | NumericShaper.BENGALI. * The NumericShaper returned by this method is contextual * in that it supports multiple character ranges, depending * on the context. * * @param ranges the unicode ranges. * * @return the NumericShaper for the specified ranges. */ public static NumericShaper getContextualShaper(int ranges) { ranges &= ALL_RANGES; return new NumericShaper(ranges, EUROPEAN, true); }
/** * Gets the NumericShaper for the specified unicode ranges * and default unicode range. The defaultContext parameter * is used as the starting context (which indicates the * language/script being used). The OR logical operation * should be used for multiple ranges: * NumericShaper.DEVANAGARI | NumericShaper.BENGALI. * The NumericShaper returned by this method is contextual * in that it supports multiple character ranges, depending * on the context. * * @param ranges the unicode ranges. * @param defaultContext the default, starting context. * * @return the NumericShaper for the specified ranges. */ public static NumericShaper getContextualShaper(int ranges, int defaultContext) { ranges &= ALL_RANGES; defaultContext &= ALL_RANGES; return new NumericShaper(ranges, defaultContext, true); }
/** * Gets a NumericShaper for the specified unicode range. * The NumericShaper supports only a single range and * hence is not contextual. * * @param singleRange the specified unicode single range. * * @return the NumericShaper for the specified unicode range. */ public static NumericShaper getShaper(int singleRange) { singleRange &= ALL_RANGES; return new NumericShaper(singleRange, EUROPEAN, false); }
/** * Gets a NumericShaper for the specified unicode range. * The NumericShaper supports only a single range and * hence is not contextual. * * @param singleRange the specified unicode single range. * * @return the NumericShaper for the specified unicode range. */ public static NumericShaper getShaper(int singleRange) { singleRange &= ALL_RANGES; return new NumericShaper(singleRange, EUROPEAN, false); }
/** * Gets a NumericShaper for the specified unicode range. * The NumericShaper supports only a single range and * hence is not contextual. * * @param singleRange the specified unicode single range. * * @return the NumericShaper for the specified unicode range. */ public static NumericShaper getShaper(int singleRange) { singleRange &= ALL_RANGES; return new NumericShaper(singleRange, EUROPEAN, false); }
/** * Gets a NumericShaper for the specified unicode range. * The NumericShaper supports only a single range and * hence is not contextual. * * @param singleRange the specified unicode single range. * * @return the NumericShaper for the specified unicode range. */ public static NumericShaper getShaper(int singleRange) { singleRange &= ALL_RANGES; return new NumericShaper(singleRange, EUROPEAN, false); }
/** * Gets a NumericShaper for the specified unicode range. * The NumericShaper supports only a single range and * hence is not contextual. * * @param singleRange the specified unicode single range. * * @return the NumericShaper for the specified unicode range. */ public static NumericShaper getShaper(int singleRange) { singleRange &= ALL_RANGES; return new NumericShaper(singleRange, EUROPEAN, false); }
/** * Gets a NumericShaper for the specified unicode range. * The NumericShaper supports only a single range and * hence is not contextual. * * @param singleRange the specified unicode single range. * * @return the NumericShaper for the specified unicode range. */ public static NumericShaper getShaper(int singleRange) { singleRange &= ALL_RANGES; return new NumericShaper(singleRange, EUROPEAN, false); }
/** * Gets the NumericShaper for the specified unicode ranges. * The OR logical operation should be used for multiple ranges: * NumericShaper.DEVANAGARI | NumericShaper.BENGALI. * The NumericShaper returned by this method is contextual * in that it supports multiple character ranges, depending * on the context. * * @param ranges the unicode ranges. * * @return the NumericShaper for the specified ranges. */ public static NumericShaper getContextualShaper(int ranges) { ranges &= ALL_RANGES; return new NumericShaper(ranges, EUROPEAN, true); }
/** * Gets the NumericShaper for the specified unicode ranges. * The OR logical operation should be used for multiple ranges: * NumericShaper.DEVANAGARI | NumericShaper.BENGALI. * The NumericShaper returned by this method is contextual * in that it supports multiple character ranges, depending * on the context. * * @param ranges the unicode ranges. * * @return the NumericShaper for the specified ranges. */ public static NumericShaper getContextualShaper(int ranges) { ranges &= ALL_RANGES; return new NumericShaper(ranges, EUROPEAN, true); }
/** * Gets the NumericShaper for the specified unicode ranges. * The OR logical operation should be used for multiple ranges: * NumericShaper.DEVANAGARI | NumericShaper.BENGALI. * The NumericShaper returned by this method is contextual * in that it supports multiple character ranges, depending * on the context. * * @param ranges the unicode ranges. * * @return the NumericShaper for the specified ranges. */ public static NumericShaper getContextualShaper(int ranges) { ranges &= ALL_RANGES; return new NumericShaper(ranges, EUROPEAN, true); }
/** * Gets the NumericShaper for the specified unicode ranges. * The OR logical operation should be used for multiple ranges: * NumericShaper.DEVANAGARI | NumericShaper.BENGALI. * The NumericShaper returned by this method is contextual * in that it supports multiple character ranges, depending * on the context. * * @param ranges the unicode ranges. * * @return the NumericShaper for the specified ranges. */ public static NumericShaper getContextualShaper(int ranges) { ranges &= ALL_RANGES; return new NumericShaper(ranges, EUROPEAN, true); }
/** * Gets the NumericShaper for the specified unicode ranges. * The OR logical operation should be used for multiple ranges: * NumericShaper.DEVANAGARI | NumericShaper.BENGALI. * The NumericShaper returned by this method is contextual * in that it supports multiple character ranges, depending * on the context. * * @param ranges the unicode ranges. * * @return the NumericShaper for the specified ranges. */ public static NumericShaper getContextualShaper(int ranges) { ranges &= ALL_RANGES; return new NumericShaper(ranges, EUROPEAN, true); }
/** * Gets the NumericShaper for the specified unicode ranges. * The OR logical operation should be used for multiple ranges: * NumericShaper.DEVANAGARI | NumericShaper.BENGALI. * The NumericShaper returned by this method is contextual * in that it supports multiple character ranges, depending * on the context. * * @param ranges the unicode ranges. * * @return the NumericShaper for the specified ranges. */ public static NumericShaper getContextualShaper(int ranges) { ranges &= ALL_RANGES; return new NumericShaper(ranges, EUROPEAN, true); }
/** * Gets the NumericShaper for the specified unicode ranges * and default unicode range. The defaultContext parameter * is used as the starting context (which indicates the * language/script being used). The OR logical operation * should be used for multiple ranges: * NumericShaper.DEVANAGARI | NumericShaper.BENGALI. * The NumericShaper returned by this method is contextual * in that it supports multiple character ranges, depending * on the context. * * @param ranges the unicode ranges. * @param defaultContext the default, starting context. * * @return the NumericShaper for the specified ranges. */ public static NumericShaper getContextualShaper(int ranges, int defaultContext) { ranges &= ALL_RANGES; defaultContext &= ALL_RANGES; return new NumericShaper(ranges, defaultContext, true); }
/** * Gets the NumericShaper for the specified unicode ranges * and default unicode range. The defaultContext parameter * is used as the starting context (which indicates the * language/script being used). The OR logical operation * should be used for multiple ranges: * NumericShaper.DEVANAGARI | NumericShaper.BENGALI. * The NumericShaper returned by this method is contextual * in that it supports multiple character ranges, depending * on the context. * * @param ranges the unicode ranges. * @param defaultContext the default, starting context. * * @return the NumericShaper for the specified ranges. */ public static NumericShaper getContextualShaper(int ranges, int defaultContext) { ranges &= ALL_RANGES; defaultContext &= ALL_RANGES; return new NumericShaper(ranges, defaultContext, true); }
/** * Gets the NumericShaper for the specified unicode ranges * and default unicode range. The defaultContext parameter * is used as the starting context (which indicates the * language/script being used). The OR logical operation * should be used for multiple ranges: * NumericShaper.DEVANAGARI | NumericShaper.BENGALI. * The NumericShaper returned by this method is contextual * in that it supports multiple character ranges, depending * on the context. * * @param ranges the unicode ranges. * @param defaultContext the default, starting context. * * @return the NumericShaper for the specified ranges. */ public static NumericShaper getContextualShaper(int ranges, int defaultContext) { ranges &= ALL_RANGES; defaultContext &= ALL_RANGES; return new NumericShaper(ranges, defaultContext, true); }
/** * Gets the NumericShaper for the specified unicode ranges * and default unicode range. The defaultContext parameter * is used as the starting context (which indicates the * language/script being used). The OR logical operation * should be used for multiple ranges: * NumericShaper.DEVANAGARI | NumericShaper.BENGALI. * The NumericShaper returned by this method is contextual * in that it supports multiple character ranges, depending * on the context. * * @param ranges the unicode ranges. * @param defaultContext the default, starting context. * * @return the NumericShaper for the specified ranges. */ public static NumericShaper getContextualShaper(int ranges, int defaultContext) { ranges &= ALL_RANGES; defaultContext &= ALL_RANGES; return new NumericShaper(ranges, defaultContext, true); }
/** * Gets the NumericShaper for the specified unicode ranges * and default unicode range. The defaultContext parameter * is used as the starting context (which indicates the * language/script being used). The OR logical operation * should be used for multiple ranges: * NumericShaper.DEVANAGARI | NumericShaper.BENGALI. * The NumericShaper returned by this method is contextual * in that it supports multiple character ranges, depending * on the context. * * @param ranges the unicode ranges. * @param defaultContext the default, starting context. * * @return the NumericShaper for the specified ranges. */ public static NumericShaper getContextualShaper(int ranges, int defaultContext) { ranges &= ALL_RANGES; defaultContext &= ALL_RANGES; return new NumericShaper(ranges, defaultContext, true); }