NumericShaper class is used to convert Latin-1 (European)
digits to other Unicode decimal digits. Users of this class will
primarily be people who wish to present data using
national digit shapes, but find it more convenient to represent the
data internally using Latin-1 (European) digits. This does not
interpret the deprecated numeric shape selector character (U+206E).
Instances of NumericShaper are typically applied
as attributes to text with the
NUMERIC_SHAPING attribute
of the TextAttribute class.
For example, this code snippet causes a TextLayout to
shape European digits to Arabic in an Arabic context:
Map map = new HashMap();
map.put(TextAttribute.NUMERIC_SHAPING,
NumericShaper.getContextualShaper(NumericShaper.ARABIC));
FontRenderContext frc = ...;
TextLayout layout = new TextLayout(text, map, frc);
layout.draw(g2d, x, y);
NumericShaper, as this code snippet demonstrates:
char[] text = ...;
// shape all EUROPEAN digits (except zero) to ARABIC digits
NumericShaper shaper = NumericShaper.getShaper(NumericShaper.ARABIC);
shaper.shape(text, start, count);
// shape European digits to ARABIC digits if preceding text is Arabic, or
// shape European digits to TAMIL digits if preceding text is Tamil, or
// leave European digits alone if there is no preceding text, or
// preceding text is neither Arabic nor Tamil
NumericShaper shaper =
NumericShaper.getContextualShaper(NumericShaper.ARABIC |
NumericShaper.TAMIL,
NumericShaper.EUROPEAN);
shaper.shape(text, start, count);
Bit mask- and enum-based Unicode ranges
This class supports two different programming interfaces to
represent Unicode ranges for script-specific digits: bit
mask-based ones, such as NumericShaper., and
enum-based ones, such as NumericShaper..
Multiple ranges can be specified by ORing bit mask-based constants,
such as:
or creating aNumericShaper.ARABIC | NumericShaper.TAMIL
Set with the NumericShaper.Range
constants, such as:
The enum-based ranges are a super set of the bit mask-based ones.EnumSet.of(NumericShaper.Range.ARABIC, NumericShaper.Range.TAMIL)
If the two interfaces are mixed (including serialization),
Unicode range values are mapped to their counterparts where such
mapping is possible, such as NumericShaper.Range.ARABIC
from/to NumericShaper.ARABIC. If any unmappable range
values are specified, such as NumericShaper.Range.BALINESE,
those ranges are ignored.
Decimal Digits Precedence
A Unicode range may have more than one set of decimal digits. If multiple decimal digits sets are specified for the same Unicode range, one of the sets will take precedence as follows.
| Unicode Range | NumericShaper Constants
| Precedence |
|---|---|---|
| Arabic | NumericShaper.
NumericShaper.
| NumericShaper.
|
NumericShaper.
NumericShaper.
| NumericShaper.
| |
| Tai Tham | NumericShaper.
NumericShaper.
| NumericShaper.
|
| Modifier and Type | Class and Description |
|---|---|
| public static enum | NumericShaper.
A |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALL_RANGES
Identifies all ranges, for full contextual shaping. |
| public static final int | ARABIC
Identifies the ARABIC range and decimal base. |
| private static final int | |
| private static final char[] | |
| public static final int | BENGALI
Identifies the BENGALI range and decimal base. |
| private static final int | |
| private static final int | BSEARCH_THRESHOLD
If more than BSEARCH_THRESHOLD ranges are specified, binary search is used. |
| private static final char[] | |
| private static final int | |
| private static int | |
| private static final int | |
| private transient volatile NumericShaper. | |
| public static final int | DEVANAGARI
Identifies the DEVANAGARI range and decimal base. |
| private static final int | |
| public static final int | EASTERN_ARABIC
Identifies the ARABIC range and ARABIC_EXTENDED decimal base. |
| private static final int | |
| public static final int | ETHIOPIC
Identifies the ETHIOPIC range and decimal base. |
| private static final int | |
| public static final int | EUROPEAN
Identifies the Latin-1 (European) and extended range, and Latin-1 (European) decimal base. |
| private static final int | |
| public static final int | GUJARATI
Identifies the GUJARATI range and decimal base. |
| private static final int | |
| public static final int | GURMUKHI
Identifies the GURMUKHI range and decimal base. |
| private static final int | |
| public static final int | KANNADA
Identifies the KANNADA range and decimal base. |
| private static final int | |
| private int | |
| public static final int | KHMER
Identifies the KHMER range and decimal base. |
| private static final int | |
| public static final int | LAO
Identifies the LAO range and decimal base. |
| private static final int | |
| public static final int | MALAYALAM
Identifies the MALAYALAM range and decimal base. |
| private static final int | |
| private int | |
| public static final int | MONGOLIAN
Identifies the MONGOLIAN range and decimal base. |
| private static final int | |
| public static final int | MYANMAR
Identifies the MYANMAR range and decimal base. |
| private static final int | |
| private static final int | |
| public static final int | ORIYA
Identifies the ORIYA range and decimal base. |
| private static final int | |
| private transient NumericShaper. | rangeArray
rangeSet.toArray() value. |
| private transient Set | rangeSet
|
| private static final long | serialVersionUID
Use serialVersionUID from JDK 1.7 for interoperability. |
| private NumericShaper. | |
| private transient volatile int | |
| private static int[] | |
| public static final int | TAMIL
Identifies the TAMIL range and decimal base. |
| private static final int | |
| public static final int | TELUGU
Identifies the TELUGU range and decimal base. |
| private static final int | |
| public static final int | THAI
Identifies the THAI range and decimal base. |
| private static final int | |
| public static final int | TIBETAN
Identifies the TIBETAN range and decimal base. |
| private static final int |
| Access | Constructor and Description |
|---|---|
| private | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public boolean | Returns: true if o is an instance
of NumericShaper and shapes in the same way;
false otherwise.the specified object to compare to this
o)NumericShaperOverrides java. Returns |
| private static int | |
| public static NumericShaper | Returns: a shaper for the specified rangesthe specified Unicode ranges ranges)Returns a contextual shaper for the provided unicode range(s). |
| public static NumericShaper | Returns: a contextual shaper for the specified rangesthe specified Unicode ranges rangesReturns a contextual shaper for the provided Unicode range(s). |
| public static NumericShaper | Returns: a shaper for the specified Unicode ranges.the specified Unicode ranges ranges, int the starting context, such as
defaultContext)NumericShaper.EUROPEANReturns a contextual shaper for the provided unicode range(s). |
| public static NumericShaper | Returns: a contextual shaper for the specified Unicode ranges.the specified Unicode ranges ranges,the starting context, such as
defaultContextNumericShaper.Range.EUROPEANReturns a contextual shaper for the provided Unicode range(s). |
| private static int | getHighBit(int value)
Returns the index of the high bit in value (assuming le, actually power of 2 >= value). |
| private static int | |
| public int | Returns: the values for all the ranges to be shaped.Returns an |
| public Set | Returns: all the Unicode ranges to be shaped.Returns a |
| public static NumericShaper | Returns: a non-contextual numeric shaperthe specified Unicode range singleRange)Returns a shaper for the provided unicode range. |
| public static NumericShaper | Returns: a non-contextualNumericShaper.the Unicode range given by a singleRangeNumericShaper. constant.Returns a shaper for the provided Unicode range. |
| public int | Returns: this shaper's hash code.Overrides java. Returns a hash code for this shaper. |
| public boolean | Returns: true if this shaper is contextual;
false otherwise.Returns a |
| private boolean | |
| private NumericShaper. | |
| private static int | |
| public void | shape(char[]
an array of characters to convert text, int the index into start, int text to start
convertingthe number of characters in count)text
to convertConverts the digits in the text that occur between start and start + count. |
| public void | shape(char[]
an array of characters text, int the index into start, int text to start
convertingthe number of characters in count, int text
to convertthe context to which to convert the
characters, such as context)NumericShaper.EUROPEANConverts the digits in the text that occur between start and start + count, using the provided context. |
| public void | shape(char[]
a text, int char arraythe index into start, int text to start convertingthe number of count, NumericShaper.chars in text
to convertthe context to which to convert the characters,
such as contextNumericShaper.Range.EUROPEANConverts the digits in the text that occur between |
| private synchronized void | |
| private void | |
| private void | |
| public String | Returns: aString describing this shaper.Overrides java. Returns a |
| private void | writeObject(ObjectOutputStream
the output stream to write to stream)Converts the |
| ALL_RANGES | back to summary |
|---|---|
| public static final int ALL_RANGES Identifies all ranges, for full contextual shaping. This constant specifies all of the bit mask-based
ranges. Use | |
| ARABIC | back to summary |
|---|---|
| public static final int ARABIC Identifies the ARABIC range and decimal base. | |
| ARABIC_KEY | back to summary |
|---|---|
| private static final int ARABIC_KEY | |
| bases | back to summary |
|---|---|
| private static final char[] bases | |
| BENGALI | back to summary |
|---|---|
| public static final int BENGALI Identifies the BENGALI range and decimal base. | |
| BENGALI_KEY | back to summary |
|---|---|
| private static final int BENGALI_KEY | |
| BSEARCH_THRESHOLD | back to summary |
|---|---|
| private static final int BSEARCH_THRESHOLD If more than BSEARCH_THRESHOLD ranges are specified, binary search is used. | |
| contexts | back to summary |
|---|---|
| private static final char[] contexts | |
| CONTEXTUAL_MASK | back to summary |
|---|---|
| private static final int CONTEXTUAL_MASK | |
| ctCache | back to summary |
|---|---|
| private static int ctCache | |
| ctCacheLimit | back to summary |
|---|---|
| private static final int ctCacheLimit | |
| currentRange | back to summary |
|---|---|
| private transient volatile NumericShaper. | |
| DEVANAGARI | back to summary |
|---|---|
| public static final int DEVANAGARI Identifies the DEVANAGARI range and decimal base. | |
| DEVANAGARI_KEY | back to summary |
|---|---|
| private static final int DEVANAGARI_KEY | |
| EASTERN_ARABIC | back to summary |
|---|---|
| public static final int EASTERN_ARABIC Identifies the ARABIC range and ARABIC_EXTENDED decimal base. | |
| EASTERN_ARABIC_KEY | back to summary |
|---|---|
| private static final int EASTERN_ARABIC_KEY | |
| ETHIOPIC | back to summary |
|---|---|
| public static final int ETHIOPIC Identifies the ETHIOPIC range and decimal base. | |
| ETHIOPIC_KEY | back to summary |
|---|---|
| private static final int ETHIOPIC_KEY | |
| EUROPEAN | back to summary |
|---|---|
| public static final int EUROPEAN Identifies the Latin-1 (European) and extended range, and Latin-1 (European) decimal base. | |
| EUROPEAN_KEY | back to summary |
|---|---|
| private static final int EUROPEAN_KEY | |
| GUJARATI | back to summary |
|---|---|
| public static final int GUJARATI Identifies the GUJARATI range and decimal base. | |
| GUJARATI_KEY | back to summary |
|---|---|
| private static final int GUJARATI_KEY | |
| GURMUKHI | back to summary |
|---|---|
| public static final int GURMUKHI Identifies the GURMUKHI range and decimal base. | |
| GURMUKHI_KEY | back to summary |
|---|---|
| private static final int GURMUKHI_KEY | |
| KANNADA | back to summary |
|---|---|
| public static final int KANNADA Identifies the KANNADA range and decimal base. | |
| KANNADA_KEY | back to summary |
|---|---|
| private static final int KANNADA_KEY | |
| key | back to summary |
|---|---|
| private int key | |
| KHMER | back to summary |
|---|---|
| public static final int KHMER Identifies the KHMER range and decimal base. | |
| KHMER_KEY | back to summary |
|---|---|
| private static final int KHMER_KEY | |
| LAO | back to summary |
|---|---|
| public static final int LAO Identifies the LAO range and decimal base. | |
| LAO_KEY | back to summary |
|---|---|
| private static final int LAO_KEY | |
| MALAYALAM | back to summary |
|---|---|
| public static final int MALAYALAM Identifies the MALAYALAM range and decimal base. | |
| MALAYALAM_KEY | back to summary |
|---|---|
| private static final int MALAYALAM_KEY | |
| mask | back to summary |
|---|---|
| private int mask | |
| MONGOLIAN | back to summary |
|---|---|
| public static final int MONGOLIAN Identifies the MONGOLIAN range and decimal base. | |
| MONGOLIAN_KEY | back to summary |
|---|---|
| private static final int MONGOLIAN_KEY | |
| MYANMAR | back to summary |
|---|---|
| public static final int MYANMAR Identifies the MYANMAR range and decimal base. | |
| MYANMAR_KEY | back to summary |
|---|---|
| private static final int MYANMAR_KEY | |
| NUM_KEYS | back to summary |
|---|---|
| private static final int NUM_KEYS | |
| ORIYA | back to summary |
|---|---|
| public static final int ORIYA Identifies the ORIYA range and decimal base. | |
| ORIYA_KEY | back to summary |
|---|---|
| private static final int ORIYA_KEY | |
| rangeArray | back to summary |
|---|---|
| private transient NumericShaper. rangeSet.toArray() value. Sorted by Range.base when the number of elements is greater than BSEARCH_THRESHOLD. | |
| rangeSet | back to summary |
|---|---|
| private transient Set<NumericShaper.
| |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Use serialVersionUID from JDK 1.7 for interoperability. | |
| shapingRange | back to summary |
|---|---|
private NumericShaper.
| |
| stCache | back to summary |
|---|---|
| private transient volatile int stCache | |
| strongTable | back to summary |
|---|---|
| private static int[] strongTable | |
| TAMIL | back to summary |
|---|---|
| public static final int TAMIL Identifies the TAMIL range and decimal base. | |
| TAMIL_KEY | back to summary |
|---|---|
| private static final int TAMIL_KEY | |
| TELUGU | back to summary |
|---|---|
| public static final int TELUGU Identifies the TELUGU range and decimal base. | |
| TELUGU_KEY | back to summary |
|---|---|
| private static final int TELUGU_KEY | |
| THAI | back to summary |
|---|---|
| public static final int THAI Identifies the THAI range and decimal base. | |
| THAI_KEY | back to summary |
|---|---|
| private static final int THAI_KEY | |
| TIBETAN | back to summary |
|---|---|
| public static final int TIBETAN Identifies the TIBETAN range and decimal base. | |
| TIBETAN_KEY | back to summary |
|---|---|
| private static final int TIBETAN_KEY | |
| NumericShaper | back to summary |
|---|---|
| private NumericShaper(int key, int mask) Private constructor. | |
| NumericShaper | back to summary |
|---|---|
| private NumericShaper(NumericShaper. | |
| checkParams | back to summary |
|---|---|
| private void checkParams(char[] text, int start, int count) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Returns NumericShaper ns1 = NumericShaper.getShaper(NumericShaper.ARABIC); NumericShaper ns2 = NumericShaper.getShaper(NumericShaper.Range.ARABIC); System.out.println(ns1.equals(ns2));
| |
| getContextKey | back to summary |
|---|---|
| private static int getContextKey(char c) | |
| getContextualShaper | back to summary |
|---|---|
| public static NumericShaper getContextualShaper(int ranges) Returns a contextual shaper for the provided unicode range(s).
Latin-1 (EUROPEAN) digits are converted to the decimal digits
corresponding to the range of the preceding text, if the
range is one of the provided ranges. Multiple ranges are
represented by or-ing the values together, such as,
| |
| getContextualShaper | back to summary |
|---|---|
| public static NumericShaper getContextualShaper(Set<NumericShaper. Returns a contextual shaper for the provided Unicode range(s). The Latin-1 (EUROPEAN) digits are converted to the decimal digits corresponding to the range of the preceding text, if the range is one of the provided ranges. The shaper assumes EUROPEAN as the starting context, that is, if EUROPEAN digits are encountered before any strong directional text in the string, the context is presumed to be EUROPEAN, and so the digits will not shape. If two ranges are specified where one takes precedence over the other the lesser range is discarded.
| |
| getContextualShaper | back to summary |
|---|---|
| public static NumericShaper getContextualShaper(int ranges, int defaultContext) Returns a contextual shaper for the provided unicode range(s).
Latin-1 (EUROPEAN) digits will be converted to the decimal digits
corresponding to the range of the preceding text, if the
range is one of the provided ranges. Multiple ranges are
represented by or-ing the values together, for example,
| |
| getContextualShaper | back to summary |
|---|---|
| public static NumericShaper getContextualShaper(Set<NumericShaper. Returns a contextual shaper for the provided Unicode range(s).
The Latin-1 (EUROPEAN) digits will be converted to the decimal
digits corresponding to the range of the preceding text, if the
range is one of the provided ranges. The shaper uses
| |
| getHighBit | back to summary |
|---|---|
| private static int getHighBit(int value) Returns the index of the high bit in value (assuming le, actually power of 2 >= value). value must be positive. | |
| getKeyFromMask | back to summary |
|---|---|
| private static int getKeyFromMask(int mask) | |
| getRanges | back to summary |
|---|---|
| public int getRanges() Returns an For example, to check if a shaper shapes to Arabic, you would use the following:
Note that this method supports only the bit mask-based
ranges. Call
| |
| getRangeSet | back to summary |
|---|---|
| public Set Returns a
| |
| getShaper | back to summary |
|---|---|
| public static NumericShaper getShaper(int singleRange) Returns a shaper for the provided unicode range. All Latin-1 (EUROPEAN) digits are converted to the corresponding decimal unicode digits.
| |
| getShaper | back to summary |
|---|---|
| public static NumericShaper getShaper(NumericShaper. Returns a shaper for the provided Unicode range. All Latin-1 (EUROPEAN) digits are converted to the corresponding decimal digits of the specified Unicode range.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Returns a hash code for this shaper.
| |
| isContextual | back to summary |
|---|---|
| public boolean isContextual() Returns a
| |
| isStrongDirectional | back to summary |
|---|---|
| private boolean isStrongDirectional(char c) | |
| rangeForCodePoint | back to summary |
|---|---|
| private NumericShaper. | |
| search | back to summary |
|---|---|
| private static int search(int value, int[] array, int start, int length) fast binary search over subrange of array. | |
| shape | back to summary |
|---|---|
| public void shape(char[] text, int start, int count) Converts the digits in the text that occur between start and start + count.
| |
| shape | back to summary |
|---|---|
| public void shape(char[] text, int start, int count, int context) Converts the digits in the text that occur between start and start + count, using the provided context. Context is ignored if the shaper is not a contextual shaper.
| |
| shape | back to summary |
|---|---|
| public void shape(char[] text, int start, int count, NumericShaper. Converts the digits in the text that occur between
| |
| shapeContextually | back to summary |
|---|---|
| private synchronized void shapeContextually(char[] text, int start, int count, int ctxKey) Perform contextual shaping. Synchronized to protect caches used in getContextKey. | |
| shapeContextually | back to summary |
|---|---|
| private void shapeContextually(char[] text, int start, int count, NumericShaper. | |
| shapeNonContextually | back to summary |
|---|---|
| private void shapeNonContextually(char[] text, int start, int count) Perform non-contextual shaping. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Returns a
| |
| writeObject | back to summary |
|---|---|
| private void writeObject(ObjectOutputStream stream) throws IOException Converts the
| |
NumericShaper.Range represents a Unicode range of a
script having its own decimal digits. For example, the 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., 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);
| Modifier and Type | Field and Description |
|---|---|
| public static final NumericShaper. | ARABIC
The Arabic range with the Arabic-Indic digits. |
| public static final NumericShaper. | BALINESE
The Balinese range with the Balinese digits. |
| private final int | |
| public static final NumericShaper. | BENGALI
The Bengali range with the Bengali digits. |
| public static final NumericShaper. | CHAM
The Cham range with the Cham digits. |
| public static final NumericShaper. | DEVANAGARI
The Devanagari range with the Devanagari digits. |
| public static final NumericShaper. | EASTERN_ARABIC
The Arabic range with the Eastern Arabic-Indic digits. |
| private final int | |
| public static final NumericShaper. | ETHIOPIC
The Ethiopic range with the Ethiopic digits. |
| public static final NumericShaper. | EUROPEAN
The Latin (European) range with the Latin (ASCII) digits. |
| public static final NumericShaper. | GUJARATI
The Gujarati range with the Gujarati digits. |
| public static final NumericShaper. | GURMUKHI
The Gurmukhi range with the Gurmukhi digits. |
| public static final NumericShaper. | JAVANESE
The Javanese range with the Javanese digits. |
| public static final NumericShaper. | KANNADA
The Kannada range with the Kannada digits. |
| public static final NumericShaper. | KAYAH_LI
The Kayah Li range with the Kayah Li digits. |
| public static final NumericShaper. | KHMER
The Khmer range with the Khmer digits. |
| public static final NumericShaper. | LAO
The Lao range with the Lao digits. |
| public static final NumericShaper. | LEPCHA
The Lepcha range with the Lepcha digits. |
| public static final NumericShaper. | LIMBU
The Limbu range with the Limbu digits. |
| public static final NumericShaper. | MALAYALAM
The Malayalam range with the Malayalam digits. |
| public static final NumericShaper. | MEETEI_MAYEK
The Meetei Mayek range with the Meetei Mayek digits. |
| public static final NumericShaper. | MONGOLIAN
The Mongolian range with the Mongolian digits. |
| public static final NumericShaper. | MYANMAR
The Myanmar range with the Myanmar digits. |
| public static final NumericShaper. | MYANMAR_SHAN
The Myanmar range with the Myanmar Shan digits. |
| public static final NumericShaper. | MYANMAR_TAI_LAING
The Myanmar Extended-B range with the Myanmar Tai Laing digits. |
| public static final NumericShaper. | NEW_TAI_LUE
The New Tai Lue range with the New Tai Lue digits. |
| public static final NumericShaper. | NKO
The N'Ko range with the N'Ko digits. |
| public static final NumericShaper. | OL_CHIKI
The Ol Chiki range with the Ol Chiki digits. |
| public static final NumericShaper. | ORIYA
The Oriya range with the Oriya digits. |
| public static final NumericShaper. | SAURASHTRA
The Saurashtra range with the Saurashtra digits. |
| public static final NumericShaper. | SINHALA
The Sinhala range with the Sinhala digits. |
| private final int | |
| public static final NumericShaper. | SUNDANESE
The Sundanese range with the Sundanese digits. |
| public static final NumericShaper. | TAI_THAM_HORA
The Tai Tham Hora range with the Tai Tham Hora digits. |
| public static final NumericShaper. | TAI_THAM_THAM
The Tai Tham Tham range with the Tai Tham Tham digits. |
| public static final NumericShaper. | TAMIL
The Tamil range with the Tamil digits. |
| public static final NumericShaper. | TELUGU
The Telugu range with the Telugu digits. |
| public static final NumericShaper. | THAI
The Thai range with the Thai digits. |
| public static final NumericShaper. | TIBETAN
The Tibetan range with the Tibetan digits. |
| public static final NumericShaper. | VAI
The Vai range with the Vai digits. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private int | |
| pack-priv char | |
| private static NumericShaper. | |
| private boolean | |
| private static Set | |
| private static int | |
| private static int | |
| private static int | |
| public static NumericShaper. | |
| public static NumericShaper. |
| ARABIC | back to summary |
|---|---|
| public static final NumericShaper. The Arabic range with the Arabic-Indic digits. | |
| BALINESE | back to summary |
|---|---|
| public static final NumericShaper. The Balinese range with the Balinese digits. | |
| base | back to summary |
|---|---|
| private final int base | |
| BENGALI | back to summary |
|---|---|
| public static final NumericShaper. The Bengali range with the Bengali digits. | |
| CHAM | back to summary |
|---|---|
| public static final NumericShaper. The Cham range with the Cham digits. | |
| DEVANAGARI | back to summary |
|---|---|
| public static final NumericShaper. The Devanagari range with the Devanagari digits. | |
| EASTERN_ARABIC | back to summary |
|---|---|
| public static final NumericShaper. The Arabic range with the Eastern Arabic-Indic digits. | |
| end | back to summary |
|---|---|
| private final int end | |
| ETHIOPIC | back to summary |
|---|---|
| public static final NumericShaper. The Ethiopic range with the Ethiopic digits. Ethiopic does not have a decimal digit 0 so Latin (European) 0 is used. | |
| EUROPEAN | back to summary |
|---|---|
| public static final NumericShaper. The Latin (European) range with the Latin (ASCII) digits. | |
| GUJARATI | back to summary |
|---|---|
| public static final NumericShaper. The Gujarati range with the Gujarati digits. | |
| GURMUKHI | back to summary |
|---|---|
| public static final NumericShaper. The Gurmukhi range with the Gurmukhi digits. | |
| JAVANESE | back to summary |
|---|---|
| public static final NumericShaper. The Javanese range with the Javanese digits. | |
| KANNADA | back to summary |
|---|---|
| public static final NumericShaper. The Kannada range with the Kannada digits. | |
| KAYAH_LI | back to summary |
|---|---|
| public static final NumericShaper. The Kayah Li range with the Kayah Li digits. | |
| KHMER | back to summary |
|---|---|
| public static final NumericShaper. The Khmer range with the Khmer digits. | |
| LAO | back to summary |
|---|---|
| public static final NumericShaper. The Lao range with the Lao digits. | |
| LEPCHA | back to summary |
|---|---|
| public static final NumericShaper. The Lepcha range with the Lepcha digits. | |
| LIMBU | back to summary |
|---|---|
| public static final NumericShaper. The Limbu range with the Limbu digits. | |
| MALAYALAM | back to summary |
|---|---|
| public static final NumericShaper. The Malayalam range with the Malayalam digits. | |
| MEETEI_MAYEK | back to summary |
|---|---|
| public static final NumericShaper. The Meetei Mayek range with the Meetei Mayek digits. | |
| MONGOLIAN | back to summary |
|---|---|
| public static final NumericShaper. The Mongolian range with the Mongolian digits. | |
| MYANMAR | back to summary |
|---|---|
| public static final NumericShaper. The Myanmar range with the Myanmar digits. | |
| MYANMAR_SHAN | back to summary |
|---|---|
| public static final NumericShaper. The Myanmar range with the Myanmar Shan digits. | |
| MYANMAR_TAI_LAING | back to summary |
|---|---|
| public static final NumericShaper. The Myanmar Extended-B range with the Myanmar Tai Laing digits.
| |
| NEW_TAI_LUE | back to summary |
|---|---|
| public static final NumericShaper. The New Tai Lue range with the New Tai Lue digits. | |
| NKO | back to summary |
|---|---|
| public static final NumericShaper. The N'Ko range with the N'Ko digits. | |
| OL_CHIKI | back to summary |
|---|---|
| public static final NumericShaper. The Ol Chiki range with the Ol Chiki digits. | |
| ORIYA | back to summary |
|---|---|
| public static final NumericShaper. The Oriya range with the Oriya digits. | |
| SAURASHTRA | back to summary |
|---|---|
| public static final NumericShaper. The Saurashtra range with the Saurashtra digits. | |
| SINHALA | back to summary |
|---|---|
| public static final NumericShaper. The Sinhala range with the Sinhala digits.
| |
| start | back to summary |
|---|---|
| private final int start | |
| SUNDANESE | back to summary |
|---|---|
| public static final NumericShaper. The Sundanese range with the Sundanese digits. | |
| TAI_THAM_HORA | back to summary |
|---|---|
| public static final NumericShaper. The Tai Tham Hora range with the Tai Tham Hora digits. | |
| TAI_THAM_THAM | back to summary |
|---|---|
| public static final NumericShaper. The Tai Tham Tham range with the Tai Tham Tham digits. | |
| TAMIL | back to summary |
|---|---|
| public static final NumericShaper. The Tamil range with the Tamil digits. | |
| TELUGU | back to summary |
|---|---|
| public static final NumericShaper. The Telugu range with the Telugu digits. | |
| THAI | back to summary |
|---|---|
| public static final NumericShaper. The Thai range with the Thai digits. | |
| TIBETAN | back to summary |
|---|---|
| public static final NumericShaper. The Tibetan range with the Tibetan digits. | |
| VAI | back to summary |
|---|---|
| public static final NumericShaper. The Vai range with the Vai digits. | |
| Range | back to summary |
|---|---|
| private Range(int base, int start, int end) | |
| getDigitBase | back to summary |
|---|---|
| private int getDigitBase() | |
| getNumericBase | back to summary |
|---|---|
| pack-priv char getNumericBase() | |
| indexToRange | back to summary |
|---|---|
| private static NumericShaper. | |
| inRange | back to summary |
|---|---|
| private boolean inRange(int c) | |
| maskToRangeSet | back to summary |
|---|---|
| private static Set | |
| toRangeHash | back to summary |
|---|---|
| private static int toRangeHash(Set<NumericShaper. | |
| toRangeIndex | back to summary |
|---|---|
| private static int toRangeIndex(NumericShaper. | |
| toRangeMask | back to summary |
|---|---|
| private static int toRangeMask(Set<NumericShaper. | |
| valueOf | back to summary |
|---|---|
| public static NumericShaper. | |
| values | back to summary |
|---|---|
| public static NumericShaper. | |