Added in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels) Summary: [Enums](https://developer.android.com/reference/java/awt/font/NumericShaper.Range#enumconstants) \| [Methods](https://developer.android.com/reference/java/awt/font/NumericShaper.Range#pubmethods) \| [Inherited Methods](https://developer.android.com/reference/java/awt/font/NumericShaper.Range#inhmethods)

# NumericShaper.Range


`
public
static
final

enum
NumericShaper.Range
`


`


`

`

extends https://developer.android.com/reference/java/lang/Enum<https://developer.android.com/reference/java/awt/font/NumericShaper.Range>


`

`


`

|---|---|---|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object) |||
| ↳ | [java.lang.Enum](https://developer.android.com/reference/java/lang/Enum)\<[java.awt.font.NumericShaper.Range](https://developer.android.com/reference/java/awt/font/NumericShaper.Range)\> ||
|   | ↳ | java.awt.font.NumericShaper.Range |

<br />

*** ** * ** ***

A `NumericShaper.Range` represents a Unicode range of a
script having its own decimal digits. For example, the `https://developer.android.com/reference/java/awt/font/NumericShaper.Range#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://developer.android.com/reference/java/awt/font/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);
> ```

<br />

## Summary

| ### Enum values ||
|---|---|
| `https://developer.android.com/reference/java/awt/font/NumericShaper.Range` | `ARABIC` The Arabic range with the Arabic-Indic digits. |
| `https://developer.android.com/reference/java/awt/font/NumericShaper.Range` | `BALINESE` The Balinese range with the Balinese digits. |
| `https://developer.android.com/reference/java/awt/font/NumericShaper.Range` | `BENGALI` The Bengali range with the Bengali digits. |
| `https://developer.android.com/reference/java/awt/font/NumericShaper.Range` | `CHAM` The Cham range with the Cham digits. |
| `https://developer.android.com/reference/java/awt/font/NumericShaper.Range` | `DEVANAGARI` The Devanagari range with the Devanagari digits. |
| `https://developer.android.com/reference/java/awt/font/NumericShaper.Range` | `EASTERN_ARABIC` The Arabic range with the Eastern Arabic-Indic digits. |
| `https://developer.android.com/reference/java/awt/font/NumericShaper.Range` | `ETHIOPIC` The Ethiopic range with the Ethiopic digits. |
| `https://developer.android.com/reference/java/awt/font/NumericShaper.Range` | `EUROPEAN` The Latin (European) range with the Latin (ASCII) digits. |
| `https://developer.android.com/reference/java/awt/font/NumericShaper.Range` | `GUJARATI` The Gujarati range with the Gujarati digits. |
| `https://developer.android.com/reference/java/awt/font/NumericShaper.Range` | `GURMUKHI` The Gurmukhi range with the Gurmukhi digits. |
| `https://developer.android.com/reference/java/awt/font/NumericShaper.Range` | `JAVANESE` The Javanese range with the Javanese digits. |
| `https://developer.android.com/reference/java/awt/font/NumericShaper.Range` | `KANNADA` The Kannada range with the Kannada digits. |
| `https://developer.android.com/reference/java/awt/font/NumericShaper.Range` | `KAYAH_LI` The Kayah Li range with the Kayah Li digits. |
| `https://developer.android.com/reference/java/awt/font/NumericShaper.Range` | `KHMER` The Khmer range with the Khmer digits. |
| `https://developer.android.com/reference/java/awt/font/NumericShaper.Range` | `LAO` The Lao range with the Lao digits. |
| `https://developer.android.com/reference/java/awt/font/NumericShaper.Range` | `LEPCHA` The Lepcha range with the Lepcha digits. |
| `https://developer.android.com/reference/java/awt/font/NumericShaper.Range` | `LIMBU` The Limbu range with the Limbu digits. |
| `https://developer.android.com/reference/java/awt/font/NumericShaper.Range` | `MALAYALAM` The Malayalam range with the Malayalam digits. |
| `https://developer.android.com/reference/java/awt/font/NumericShaper.Range` | `MEETEI_MAYEK` The Meetei Mayek range with the Meetei Mayek digits. |
| `https://developer.android.com/reference/java/awt/font/NumericShaper.Range` | `MONGOLIAN` The Mongolian range with the Mongolian digits. |
| `https://developer.android.com/reference/java/awt/font/NumericShaper.Range` | `MYANMAR` The Myanmar range with the Myanmar digits. |
| `https://developer.android.com/reference/java/awt/font/NumericShaper.Range` | `MYANMAR_SHAN` The Myanmar range with the Myanmar Shan digits. |
| `https://developer.android.com/reference/java/awt/font/NumericShaper.Range` | `NEW_TAI_LUE` The New Tai Lue range with the New Tai Lue digits. |
| `https://developer.android.com/reference/java/awt/font/NumericShaper.Range` | `NKO` The N'Ko range with the N'Ko digits. |
| `https://developer.android.com/reference/java/awt/font/NumericShaper.Range` | `OL_CHIKI` The Ol Chiki range with the Ol Chiki digits. |
| `https://developer.android.com/reference/java/awt/font/NumericShaper.Range` | `ORIYA` The Oriya range with the Oriya digits. |
| `https://developer.android.com/reference/java/awt/font/NumericShaper.Range` | `SAURASHTRA` The Saurashtra range with the Saurashtra digits. |
| `https://developer.android.com/reference/java/awt/font/NumericShaper.Range` | `SUNDANESE` The Sundanese range with the Sundanese digits. |
| `https://developer.android.com/reference/java/awt/font/NumericShaper.Range` | `TAI_THAM_HORA` The Tai Tham Hora range with the Tai Tham Hora digits. |
| `https://developer.android.com/reference/java/awt/font/NumericShaper.Range` | `TAI_THAM_THAM` The Tai Tham Tham range with the Tai Tham Tham digits. |
| `https://developer.android.com/reference/java/awt/font/NumericShaper.Range` | `TAMIL` The Tamil range with the Tamil digits. |
| `https://developer.android.com/reference/java/awt/font/NumericShaper.Range` | `TELUGU` The Telugu range with the Telugu digits. |
| `https://developer.android.com/reference/java/awt/font/NumericShaper.Range` | `THAI` The Thai range with the Thai digits. |
| `https://developer.android.com/reference/java/awt/font/NumericShaper.Range` | `TIBETAN` The Tibetan range with the Tibetan digits. |
| `https://developer.android.com/reference/java/awt/font/NumericShaper.Range` | `VAI` The Vai range with the Vai digits. |

| ### Public methods ||
|---|---|
| ` static https://developer.android.com/reference/java/awt/font/NumericShaper.Range` | ` https://developer.android.com/reference/java/awt/font/NumericShaper.Range#valueOf(java.lang.String)(https://developer.android.com/reference/java/lang/String name) ` |
| ` static final https://developer.android.com/reference/java/awt/font/NumericShaper.Range` | ` https://developer.android.com/reference/java/awt/font/NumericShaper.Range#values()() ` |

### Inherited methods

From class `

https://developer.android.com/reference/java/lang/Enum

` `


final

https://developer.android.com/reference/java/lang/Object` `
https://developer.android.com/reference/java/lang/Enum#clone()()
`

Throws CloneNotSupportedException.


`


final

int` `
https://developer.android.com/reference/java/lang/Enum#compareTo(E)(E o)
`

Compares this enum with the specified object for order.


`


final

boolean` `
https://developer.android.com/reference/java/lang/Enum#equals(java.lang.Object)(https://developer.android.com/reference/java/lang/Object other)
`

Returns true if the specified object is equal to this
enum constant.


`


final

void` `
https://developer.android.com/reference/java/lang/Enum#finalize()()
`

enum classes cannot have finalize methods.


`


final

https://developer.android.com/reference/java/lang/Class<E>` `
https://developer.android.com/reference/java/lang/Enum#getDeclaringClass()()
`

Returns the Class object corresponding to this enum constant's
enum type.


`


final

int` `
https://developer.android.com/reference/java/lang/Enum#hashCode()()
`

Returns a hash code for this enum constant.


`


final

https://developer.android.com/reference/java/lang/String` `
https://developer.android.com/reference/java/lang/Enum#name()()
`

Returns the name of this enum constant, exactly as declared in its
enum declaration.


`


final

int` `
https://developer.android.com/reference/java/lang/Enum#ordinal()()
`

Returns the ordinal of this enumeration constant (its position
in its enum declaration, where the initial constant is assigned
an ordinal of zero).


`


https://developer.android.com/reference/java/lang/String` `
https://developer.android.com/reference/java/lang/Enum#toString()()
`

Returns the name of this enum constant, as contained in the
declaration.


`


static

<T extends https://developer.android.com/reference/java/lang/Enum<T>>
T` `
https://developer.android.com/reference/java/lang/Enum#valueOf(java.lang.Class<T>,%20java.lang.String)(https://developer.android.com/reference/java/lang/Class<T> enumClass, https://developer.android.com/reference/java/lang/String name)
`

Returns the enum constant of the specified enum class with the
specified name.


From class `

https://developer.android.com/reference/java/lang/Object

` `


https://developer.android.com/reference/java/lang/Object` `
https://developer.android.com/reference/java/lang/Object#clone()()
`

Creates and returns a copy of this object.


`


boolean` `
https://developer.android.com/reference/java/lang/Object#equals(java.lang.Object)(https://developer.android.com/reference/java/lang/Object obj)
`

Indicates whether some other object is "equal to" this one.


`


void` `
https://developer.android.com/reference/java/lang/Object#finalize()()
`

Called by the garbage collector on an object when garbage collection
determines that there are no more references to the object.


`


final

https://developer.android.com/reference/java/lang/Class<?>` `
https://developer.android.com/reference/java/lang/Object#getClass()()
`

Returns the runtime class of this `Object`.


`


int` `
https://developer.android.com/reference/java/lang/Object#hashCode()()
`

Returns a hash code value for the object.


`


final

void` `
https://developer.android.com/reference/java/lang/Object#notify()()
`

Wakes up a single thread that is waiting on this object's
monitor.


`


final

void` `
https://developer.android.com/reference/java/lang/Object#notifyAll()()
`

Wakes up all threads that are waiting on this object's monitor.


`


https://developer.android.com/reference/java/lang/String` `
https://developer.android.com/reference/java/lang/Object#toString()()
`

Returns a string representation of the object.


`


final

void` `
https://developer.android.com/reference/java/lang/Object#wait(long,%20int)(long timeoutMillis, int nanos)
`

Causes the current thread to wait until it is awakened, typically
by being *notified* or *interrupted*, or until a
certain amount of real time has elapsed.


`


final

void` `
https://developer.android.com/reference/java/lang/Object#wait(long)(long timeoutMillis)
`

Causes the current thread to wait until it is awakened, typically
by being *notified* or *interrupted*, or until a
certain amount of real time has elapsed.


`


final

void` `
https://developer.android.com/reference/java/lang/Object#wait()()
`

Causes the current thread to wait until it is awakened, typically
by being *notified* or *interrupted*.


From interface `

https://developer.android.com/reference/java/lang/Comparable

` `
abstract


int` `
https://developer.android.com/reference/java/lang/Comparable#compareTo(T)(E o)
`

Compares this object with the specified object for order.


## Enum values

### ARABIC

Added in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final NumericShaper.Range ARABIC
```

The Arabic range with the Arabic-Indic digits.

<br />

### BALINESE

Added in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final NumericShaper.Range BALINESE
```

The Balinese range with the Balinese digits.

<br />

### BENGALI

Added in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final NumericShaper.Range BENGALI
```

The Bengali range with the Bengali digits.

<br />

### CHAM

Added in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final NumericShaper.Range CHAM
```

The Cham range with the Cham digits.

<br />

### DEVANAGARI

Added in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final NumericShaper.Range DEVANAGARI
```

The Devanagari range with the Devanagari digits.

<br />

### EASTERN_ARABIC

Added in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final NumericShaper.Range EASTERN_ARABIC
```

The Arabic range with the Eastern Arabic-Indic digits.

<br />

### ETHIOPIC

Added in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

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

<br />

### EUROPEAN

Added in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final NumericShaper.Range EUROPEAN
```

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

<br />

### GUJARATI

Added in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final NumericShaper.Range GUJARATI
```

The Gujarati range with the Gujarati digits.

<br />

### GURMUKHI

Added in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final NumericShaper.Range GURMUKHI
```

The Gurmukhi range with the Gurmukhi digits.

<br />

### JAVANESE

Added in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final NumericShaper.Range JAVANESE
```

The Javanese range with the Javanese digits.

<br />

### KANNADA

Added in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final NumericShaper.Range KANNADA
```

The Kannada range with the Kannada digits.

<br />

### KAYAH_LI

Added in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final NumericShaper.Range KAYAH_LI
```

The Kayah Li range with the Kayah Li digits.

<br />

### KHMER

Added in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final NumericShaper.Range KHMER
```

The Khmer range with the Khmer digits.

<br />

### LAO

Added in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final NumericShaper.Range LAO
```

The Lao range with the Lao digits.

<br />

### LEPCHA

Added in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final NumericShaper.Range LEPCHA
```

The Lepcha range with the Lepcha digits.

<br />

### LIMBU

Added in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final NumericShaper.Range LIMBU
```

The Limbu range with the Limbu digits.

<br />

### MALAYALAM

Added in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final NumericShaper.Range MALAYALAM
```

The Malayalam range with the Malayalam digits.

<br />

### MEETEI_MAYEK

Added in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final NumericShaper.Range MEETEI_MAYEK
```

The Meetei Mayek range with the Meetei Mayek digits.

<br />

### MONGOLIAN

Added in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final NumericShaper.Range MONGOLIAN
```

The Mongolian range with the Mongolian digits.

<br />

### MYANMAR

Added in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final NumericShaper.Range MYANMAR
```

The Myanmar range with the Myanmar digits.

<br />

### MYANMAR_SHAN

Added in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final NumericShaper.Range MYANMAR_SHAN
```

The Myanmar range with the Myanmar Shan digits.

<br />

### NEW_TAI_LUE

Added in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final NumericShaper.Range NEW_TAI_LUE
```

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

<br />

### NKO

Added in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final NumericShaper.Range NKO
```

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

<br />

### OL_CHIKI

Added in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final NumericShaper.Range OL_CHIKI
```

The Ol Chiki range with the Ol Chiki digits.

<br />

### ORIYA

Added in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final NumericShaper.Range ORIYA
```

The Oriya range with the Oriya digits.

<br />

### SAURASHTRA

Added in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final NumericShaper.Range SAURASHTRA
```

The Saurashtra range with the Saurashtra digits.

<br />

### SUNDANESE

Added in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final NumericShaper.Range SUNDANESE
```

The Sundanese range with the Sundanese digits.

<br />

### TAI_THAM_HORA

Added in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final NumericShaper.Range TAI_THAM_HORA
```

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

<br />

### TAI_THAM_THAM

Added in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final NumericShaper.Range TAI_THAM_THAM
```

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

<br />

### TAMIL

Added in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final NumericShaper.Range TAMIL
```

The Tamil range with the Tamil digits.

<br />

### TELUGU

Added in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final NumericShaper.Range TELUGU
```

The Telugu range with the Telugu digits.

<br />

### THAI

Added in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final NumericShaper.Range THAI
```

The Thai range with the Thai digits.

<br />

### TIBETAN

Added in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final NumericShaper.Range TIBETAN
```

The Tibetan range with the Tibetan digits.

<br />

### VAI

Added in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final NumericShaper.Range VAI
```

The Vai range with the Vai digits.

<br />

## Public methods

### valueOf

```
public static NumericShaper.Range valueOf (String name)
```

<br />

<br />

| Parameters ||
|---|---|
| `name` | `String` <br /> |

| Returns ||
|---|---|
| `https://developer.android.com/reference/java/awt/font/NumericShaper.Range` | <br /> |

### values

```
public static final Range[] values ()
```

<br />

<br />

| Returns ||
|---|---|
| `https://developer.android.com/reference/java/awt/font/NumericShaper.Range` | <br /> |