- All Implemented Interfaces:
- Serializable,- Comparable<NumericShaper.Range>,- Constable
- Enclosing class:
- NumericShaper
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);
 
 NumericShaper.getContextualShaper(EnumSet.of(
                                     NumericShaper.Range.ARABIC,
                                     NumericShaper.Range.TAMIL),
                                   NumericShaper.Range.EUROPEAN);
 - Since:
- 1.7
- 
Nested Class SummaryNested classes/interfaces declared in class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionThe Arabic range with the Arabic-Indic digits.The Balinese range with the Balinese digits.The Bengali range with the Bengali digits.The Cham range with the Cham digits.The Devanagari range with the Devanagari digits.The Arabic range with the Eastern Arabic-Indic digits.The Ethiopic range with the Ethiopic digits.The Latin (European) range with the Latin (ASCII) digits.The Gujarati range with the Gujarati digits.The Gurmukhi range with the Gurmukhi digits.The Javanese range with the Javanese digits.The Kannada range with the Kannada digits.The Kayah Li range with the Kayah Li digits.The Khmer range with the Khmer digits.The Lao range with the Lao digits.The Lepcha range with the Lepcha digits.The Limbu range with the Limbu digits.The Malayalam range with the Malayalam digits.The Meetei Mayek range with the Meetei Mayek digits.The Mongolian range with the Mongolian digits.The Myanmar range with the Myanmar digits.The Myanmar range with the Myanmar Shan digits.The Myanmar Extended-B range with the Myanmar Tai Laing digits.The New Tai Lue range with the New Tai Lue digits.The N'Ko range with the N'Ko digits.The Ol Chiki range with the Ol Chiki digits.The Oriya range with the Oriya digits.The Saurashtra range with the Saurashtra digits.The Sinhala range with the Sinhala digits.The Sundanese range with the Sundanese digits.The Tai Tham Hora range with the Tai Tham Hora digits.The Tai Tham Tham range with the Tai Tham Tham digits.The Tamil range with the Tamil digits.The Telugu range with the Telugu digits.The Thai range with the Thai digits.The Tibetan range with the Tibetan digits.The Vai range with the Vai digits.
- 
Method SummaryModifier and TypeMethodDescriptionstatic NumericShaper.RangeReturns the enum constant of this class with the specified name.static NumericShaper.Range[]values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
EUROPEANThe Latin (European) range with the Latin (ASCII) digits.
- 
ARABICThe Arabic range with the Arabic-Indic digits.
- 
EASTERN_ARABICThe Arabic range with the Eastern Arabic-Indic digits.
- 
DEVANAGARIThe Devanagari range with the Devanagari digits.
- 
BENGALIThe Bengali range with the Bengali digits.
- 
GURMUKHIThe Gurmukhi range with the Gurmukhi digits.
- 
GUJARATIThe Gujarati range with the Gujarati digits.
- 
ORIYAThe Oriya range with the Oriya digits.
- 
TAMILThe Tamil range with the Tamil digits.
- 
TELUGUThe Telugu range with the Telugu digits.
- 
KANNADAThe Kannada range with the Kannada digits.
- 
MALAYALAMThe Malayalam range with the Malayalam digits.
- 
THAIThe Thai range with the Thai digits.
- 
LAOThe Lao range with the Lao digits.
- 
TIBETANThe Tibetan range with the Tibetan digits.
- 
MYANMARThe Myanmar range with the Myanmar digits.
- 
ETHIOPICThe Ethiopic range with the Ethiopic digits. Ethiopic does not have a decimal digit 0 so Latin (European) 0 is used.
- 
KHMERThe Khmer range with the Khmer digits.
- 
MONGOLIANThe Mongolian range with the Mongolian digits.
- 
NKOThe N'Ko range with the N'Ko digits.
- 
MYANMAR_SHANThe Myanmar range with the Myanmar Shan digits.
- 
LIMBUThe Limbu range with the Limbu digits.
- 
NEW_TAI_LUEThe New Tai Lue range with the New Tai Lue digits.
- 
BALINESEThe Balinese range with the Balinese digits.
- 
SUNDANESEThe Sundanese range with the Sundanese digits.
- 
LEPCHAThe Lepcha range with the Lepcha digits.
- 
OL_CHIKIThe Ol Chiki range with the Ol Chiki digits.
- 
VAIThe Vai range with the Vai digits.
- 
SAURASHTRAThe Saurashtra range with the Saurashtra digits.
- 
KAYAH_LIThe Kayah Li range with the Kayah Li digits.
- 
CHAMThe Cham range with the Cham digits.
- 
TAI_THAM_HORAThe Tai Tham Hora range with the Tai Tham Hora digits.
- 
TAI_THAM_THAMThe Tai Tham Tham range with the Tai Tham Tham digits.
- 
JAVANESEThe Javanese range with the Javanese digits.
- 
MEETEI_MAYEKThe Meetei Mayek range with the Meetei Mayek digits.
- 
SINHALAThe Sinhala range with the Sinhala digits.- Since:
- 9
 
- 
MYANMAR_TAI_LAINGThe Myanmar Extended-B range with the Myanmar Tai Laing digits.- Since:
- 9
 
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
 
- 
valueOfReturns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
- NullPointerException- if the argument is null
 
 
-