Package Summary  Overview Summary

class:NumericShaper.Range [NONE]

  • All Implemented Interfaces:
    Serializable, Comparable<NumericShaper.Range>
    Enclosing class:
    NumericShaper


    public static enum NumericShaper.Range
    extends Enum<NumericShaper.Range>
    A NumericShaper.Range represents a Unicode range of a script having its own decimal digits. For example, the THAI range has the Thai digits, THAI DIGIT ZERO (U+0E50) to THAI DIGIT NINE (U+0E59).

    The Range enum replaces the traditional bit mask-based values (e.g., NumericShaper.ARABIC), and supports more Unicode ranges than the bit mask-based ones. For example, the following code using the bit mask:

     NumericShaper.getContextualShaper(NumericShaper.ARABIC |
                                         NumericShaper.TAMIL,
                                       NumericShaper.EUROPEAN);
     
    can be written using this enum as:
     NumericShaper.getContextualShaper(EnumSet.of(
                                         NumericShaper.Range.ARABIC,
                                         NumericShaper.Range.TAMIL),
                                       NumericShaper.Range.EUROPEAN);
     
    Since:
    1.7

field:EUROPEAN [NONE]

  • EUROPEAN

    public static final NumericShaper.Range EUROPEAN
    The Latin (European) range with the Latin (ASCII) digits.

field:ARABIC [NONE]

  • ARABIC

    public static final NumericShaper.Range ARABIC
    The Arabic range with the Arabic-Indic digits.

field:EASTERN_ARABIC [NONE]

  • EASTERN_ARABIC

    public static final NumericShaper.Range EASTERN_ARABIC
    The Arabic range with the Eastern Arabic-Indic digits.

field:DEVANAGARI [NONE]

  • DEVANAGARI

    public static final NumericShaper.Range DEVANAGARI
    The Devanagari range with the Devanagari digits.

field:BENGALI [NONE]

  • BENGALI

    public static final NumericShaper.Range BENGALI
    The Bengali range with the Bengali digits.

field:GURMUKHI [NONE]

  • GURMUKHI

    public static final NumericShaper.Range GURMUKHI
    The Gurmukhi range with the Gurmukhi digits.

field:GUJARATI [NONE]

  • GUJARATI

    public static final NumericShaper.Range GUJARATI
    The Gujarati range with the Gujarati digits.

field:ORIYA [NONE]

field:TAMIL [NONE]

field:TELUGU [NONE]

  • TELUGU

    public static final NumericShaper.Range TELUGU
    The Telugu range with the Telugu digits.

field:KANNADA [NONE]

  • KANNADA

    public static final NumericShaper.Range KANNADA
    The Kannada range with the Kannada digits.

field:MALAYALAM [NONE]

  • MALAYALAM

    public static final NumericShaper.Range MALAYALAM
    The Malayalam range with the Malayalam digits.

field:THAI [NONE]

field:LAO [NONE]

field:TIBETAN [NONE]

  • TIBETAN

    public static final NumericShaper.Range TIBETAN
    The Tibetan range with the Tibetan digits.

field:MYANMAR [NONE]

  • MYANMAR

    public static final NumericShaper.Range MYANMAR
    The Myanmar range with the Myanmar digits.

field:ETHIOPIC [NONE]

  • ETHIOPIC

    public static final NumericShaper.Range ETHIOPIC
    The Ethiopic range with the Ethiopic digits. Ethiopic does not have a decimal digit 0 so Latin (European) 0 is used.

field:KHMER [NONE]

field:MONGOLIAN [NONE]

  • MONGOLIAN

    public static final NumericShaper.Range MONGOLIAN
    The Mongolian range with the Mongolian digits.

field:NKO [NONE]

field:MYANMAR_SHAN [NONE]

  • MYANMAR_SHAN

    public static final NumericShaper.Range MYANMAR_SHAN
    The Myanmar range with the Myanmar Shan digits.

field:LIMBU [NONE]

field:NEW_TAI_LUE [NONE]

  • NEW_TAI_LUE

    public static final NumericShaper.Range NEW_TAI_LUE
    The New Tai Lue range with the New Tai Lue digits.

field:BALINESE [NONE]

  • BALINESE

    public static final NumericShaper.Range BALINESE
    The Balinese range with the Balinese digits.

field:SUNDANESE [NONE]

  • SUNDANESE

    public static final NumericShaper.Range SUNDANESE
    The Sundanese range with the Sundanese digits.

field:LEPCHA [NONE]

  • LEPCHA

    public static final NumericShaper.Range LEPCHA
    The Lepcha range with the Lepcha digits.

field:OL_CHIKI [NONE]

  • OL_CHIKI

    public static final NumericShaper.Range OL_CHIKI
    The Ol Chiki range with the Ol Chiki digits.

field:VAI [NONE]

field:SAURASHTRA [NONE]

  • SAURASHTRA

    public static final NumericShaper.Range SAURASHTRA
    The Saurashtra range with the Saurashtra digits.

field:KAYAH_LI [NONE]

  • KAYAH_LI

    public static final NumericShaper.Range KAYAH_LI
    The Kayah Li range with the Kayah Li digits.

field:CHAM [NONE]

field:TAI_THAM_HORA [NONE]

  • TAI_THAM_HORA

    public static final NumericShaper.Range TAI_THAM_HORA
    The Tai Tham Hora range with the Tai Tham Hora digits.

field:TAI_THAM_THAM [NONE]

  • TAI_THAM_THAM

    public static final NumericShaper.Range TAI_THAM_THAM
    The Tai Tham Tham range with the Tai Tham Tham digits.

field:JAVANESE [NONE]

  • JAVANESE

    public static final NumericShaper.Range JAVANESE
    The Javanese range with the Javanese digits.

field:MEETEI_MAYEK [NONE]

  • MEETEI_MAYEK

    public static final NumericShaper.Range MEETEI_MAYEK
    The Meetei Mayek range with the Meetei Mayek digits.

field:SINHALA [NONE]

  • SINHALA

    public static final NumericShaper.Range SINHALA
    The Sinhala range with the Sinhala digits.
    Since:
    9

field:MYANMAR_TAI_LAING [NONE]

  • MYANMAR_TAI_LAING

    public static final NumericShaper.Range MYANMAR_TAI_LAING
    The Myanmar Extended-B range with the Myanmar Tai Laing digits.
    Since:
    9

method:values() [NONE]

  • values

    public static NumericShaper.Range[] values​()
    Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
    for (NumericShaper.Range c : NumericShaper.Range.values())
        System.out.println(c);
    
    Returns:
    an array containing the constants of this enum type, in the order they are declared

method:valueOf(java.lang.String) [NONE]

  • valueOf

    public static NumericShaper.Range valueOf​(String name)
    Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
    Parameters:
    name - the name of the enum constant to be returned.
    Returns:
    the enum constant with the specified name
    Throws:
    IllegalArgumentException - if this enum type has no constant with the specified name
    NullPointerException - if the argument is null