# NumericShaper.Range

public static enum **NumericShaper.Range** extends [Enum](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Enum.html)\<[NumericShaper.Range](https://developers.google.com/j2objc/javadoc/jre/reference/java/awt/font/NumericShaper.Range.html)\>  
A `NumericShaper.Range` represents a Unicode range of a
script having its own decimal digits. For example, the `https://developers.google.com/j2objc/javadoc/jre/reference/java/awt/font/NumericShaper.Range.html#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., `https://developers.google.com/j2objc/javadoc/jre/reference/java/awt/font/NumericShaper.html#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);
>  
> ```

<br />

### Inherited Method Summary

From class [java.lang.Enum](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Enum.html)

|---|---|
| final [Object](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html) | [clone](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Enum.html#clone())() Throws CloneNotSupportedException. |
| final int | [compareTo](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Enum.html#compareTo(E))(E o) Compares this enum with the specified object for order. |
| final boolean | [equals](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Enum.html#equals(java.lang.Object))([Object](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html) other) Returns true if the specified object is equal to this enum constant. |
| final void | [finalize](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Enum.html#finalize())() enum classes cannot have finalize methods. |
| final [Class](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Class.html)\<E\> | [getDeclaringClass](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Enum.html#getDeclaringClass())() Returns the Class object corresponding to this enum constant's enum type. |
| final int | [hashCode](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Enum.html#hashCode())() Returns a hash code for this enum constant. |
| final [String](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/String.html) | [name](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Enum.html#name())() Returns the name of this enum constant, exactly as declared in its enum declaration. |
| final int | [ordinal](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Enum.html#ordinal())() Returns the ordinal of this enumeration constant (its position in its enum declaration, where the initial constant is assigned an ordinal of zero). |
| [String](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/String.html) | [toString](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Enum.html#toString())() Returns the name of this enum constant, as contained in the declaration. |
| static \<T extends [Enum](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Enum.html)\<T\>\> T | [valueOf](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Enum.html#valueOf(java.lang.Class<T>,%20java.lang.String))([Class](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Class.html)\<T\> enumType, [String](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/String.html) name) Returns the enum constant of the specified enum type with the specified name. |

From class [java.lang.Object](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html)

|---|---|
| [Object](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html) | [clone](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html#clone())() Creates and returns a copy of this `Object`. |
| boolean | [equals](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html#equals(java.lang.Object))([Object](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html) obj) Compares this instance with the specified object and indicates if they are equal. |
| void | [finalize](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html#finalize())() Invoked when the garbage collector has detected that this instance is no longer reachable. |
| final [Class](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Class.html)\<?\> | [getClass](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html#getClass())() Returns the unique instance of `https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Class.html` that represents this object's class. |
| int | [hashCode](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html#hashCode())() Returns an integer hash code for this object. |
| final void | [notify](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html#notify())() Causes a thread which is waiting on this object's monitor (by means of calling one of the `wait()` methods) to be woken up. |
| final void | [notifyAll](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html#notifyAll())() Causes all threads which are waiting on this object's monitor (by means of calling one of the `wait()` methods) to be woken up. |
| [String](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/String.html) | [toString](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html#toString())() Returns a string containing a concise, human-readable description of this object. |
| final void | [wait](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html#wait(long,%20int))(long timeout, int nanos) Causes the calling thread to wait until another thread calls the `notify()` or `notifyAll()` method of this object or until the specified timeout expires. |
| final void | [wait](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html#wait(long))(long timeout) Causes the calling thread to wait until another thread calls the `notify()` or `notifyAll()` method of this object or until the specified timeout expires. |
| final void | [wait](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html#wait())() Causes the calling thread to wait until another thread calls the `notify()` or `notifyAll()` method of this object. |

From interface [java.lang.Comparable](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Comparable.html)

|---|---|
| abstract int | [compareTo](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Comparable.html#compareTo(T))([NumericShaper.Range](https://developers.google.com/j2objc/javadoc/jre/reference/java/awt/font/NumericShaper.Range.html) o) Compares this object with the specified object for order. |

## Enum Values

#### public static final NumericShaper.Range
**ARABIC**

The Arabic range with the Arabic-Indic digits.

#### public static final NumericShaper.Range
**BALINESE**

The Balinese range with the Balinese digits.

#### public static final NumericShaper.Range
**BENGALI**

The Bengali range with the Bengali digits.

#### public static final NumericShaper.Range
**CHAM**

The Cham range with the Cham digits.

#### public static final NumericShaper.Range
**DEVANAGARI**

The Devanagari range with the Devanagari digits.

#### public static final NumericShaper.Range
**EASTERN_ARABIC**

The Arabic range with the Eastern Arabic-Indic digits.

#### 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.

#### public static final NumericShaper.Range
**EUROPEAN**

The Latin (European) range with the Latin (ASCII) digits.

#### public static final NumericShaper.Range
**GUJARATI**

The Gujarati range with the Gujarati digits.

#### public static final NumericShaper.Range
**GURMUKHI**

The Gurmukhi range with the Gurmukhi digits.

#### public static final NumericShaper.Range
**JAVANESE**

The Javanese range with the Javanese digits.

#### public static final NumericShaper.Range
**KANNADA**

The Kannada range with the Kannada digits.

#### public static final NumericShaper.Range
**KAYAH_LI**

The Kayah Li range with the Kayah Li digits.

#### public static final NumericShaper.Range
**KHMER**

The Khmer range with the Khmer digits.

#### public static final NumericShaper.Range
**LAO**

The Lao range with the Lao digits.

#### public static final NumericShaper.Range
**LEPCHA**

The Lepcha range with the Lepcha digits.

#### public static final NumericShaper.Range
**LIMBU**

The Limbu range with the Limbu digits.

#### public static final NumericShaper.Range
**MALAYALAM**

The Malayalam range with the Malayalam digits.

#### public static final NumericShaper.Range
**MEETEI_MAYEK**

The Meetei Mayek range with the Meetei Mayek digits.

#### public static final NumericShaper.Range
**MONGOLIAN**

The Mongolian range with the Mongolian digits.

#### public static final NumericShaper.Range
**MYANMAR**

The Myanmar range with the Myanmar digits.

#### public static final NumericShaper.Range
**MYANMAR_SHAN**

The Myanmar range with the Myanmar Shan digits.

#### public static final NumericShaper.Range
**NEW_TAI_LUE**

The New Tai Lue range with the New Tai Lue digits.

#### public static final NumericShaper.Range
**NKO**

The N'Ko range with the N'Ko digits.

#### public static final NumericShaper.Range
**OL_CHIKI**

The Ol Chiki range with the Ol Chiki digits.

#### public static final NumericShaper.Range
**ORIYA**

The Oriya range with the Oriya digits.

#### public static final NumericShaper.Range
**SAURASHTRA**

The Saurashtra range with the Saurashtra digits.

#### public static final NumericShaper.Range
**SUNDANESE**

The Sundanese range with the Sundanese digits.

#### public static final NumericShaper.Range
**TAI_THAM_HORA**

The Tai Tham Hora range with the Tai Tham Hora digits.

#### public static final NumericShaper.Range
**TAI_THAM_THAM**

The Tai Tham Tham range with the Tai Tham Tham digits.

#### public static final NumericShaper.Range
**TAMIL**

The Tamil range with the Tamil digits.

#### public static final NumericShaper.Range
**TELUGU**

The Telugu range with the Telugu digits.

#### public static final NumericShaper.Range
**THAI**

The Thai range with the Thai digits.

#### public static final NumericShaper.Range
**TIBETAN**

The Tibetan range with the Tibetan digits.

#### public static final NumericShaper.Range
**VAI**

The Vai range with the Vai digits.