| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| public static enum |
| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private boolean | |
| private byte | |
| private final byte[] | |
| private final String[] | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static final int | |
| private static final int | |
| public int | getMultiplier(int
The power of ten of the input number. magnitude)Implements com. |
| public String | getPattern(int magnitude, PluralRules rules, DecimalQuantity dq)
Deprecated
as a consequence of
DecimalQuantity being deprecated.
|
| private static void | getResourceBundleKey(String nsName, CompactDecimalFormat.
Produces a string like "NumberElements/latn/patternsShort/decimalFormat". |
| public void | |
| public void | populate(ULocale locale, String nsName, CompactDecimalFormat.
|
| public void |
| COMPACT_MAX_DIGITS | back to summary |
|---|---|
| private static final int COMPACT_MAX_DIGITS | |
| isEmpty | back to summary |
|---|---|
| private boolean isEmpty | |
| largestMagnitude | back to summary |
|---|---|
| private byte largestMagnitude | |
| multipliers | back to summary |
|---|---|
| private final byte[] multipliers | |
| patterns | back to summary |
|---|---|
| private final String[] patterns | |
| USE_FALLBACK | back to summary |
|---|---|
| private static final String USE_FALLBACK | |
| CompactData | back to summary |
|---|---|
| public CompactData() | |
| countZeros | back to summary |
|---|---|
| private static final int countZeros(String patternString) | |
| getIndex | back to summary |
|---|---|
| private static final int getIndex(int magnitude, StandardPlural plural) | |
| getMultiplier | back to summary |
|---|---|
| public int getMultiplier(int magnitude) Implements com. Doc from com. Maps a magnitude to a multiplier in powers of ten. For example, in compact notation in English, a magnitude of 5 (e.g., 100,000) should return a multiplier of -3, since the number is displayed in thousands.
| |
| getPattern | back to summary |
|---|---|
| public String getPattern(int magnitude, PluralRules rules, DecimalQuantity dq)
Deprecated as a consequence of | |
| getResourceBundleKey | back to summary |
|---|---|
| private static void getResourceBundleKey(String nsName, CompactDecimalFormat. Produces a string like "NumberElements/latn/patternsShort/decimalFormat". | |
| getUniquePatterns | back to summary |
|---|---|
| public void getUniquePatterns(Set<String> output) | |
| populate | back to summary |
|---|---|
| public void populate(ULocale locale, String nsName, CompactDecimalFormat. | |
| populate | back to summary |
|---|---|
| public void populate(Map<String, Map<String, String>> powersToPluralsToPatterns) Java-only method used by CLDR tooling. | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv CompactData |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | put(UResource.
Initially the key string of the enumeration-start resource.
Empty if the enumeration starts at the top level of the bundle.
Reuse for output values from Array and Table getters. key,Call getArray() or getTable() as appropriate.
Then reuse for output values from Array and Table getters. value,true if the bundle has no parent;
that is, its top-level table has the nofallback attribute,
or it is the root bundle of a locale tree. isRoot)Implements abstract com. |
| data | back to summary |
|---|---|
| pack-priv CompactData data | |
| CompactDataSink | back to summary |
|---|---|
| public CompactDataSink(CompactData data) | |
| put | back to summary |
|---|---|
| public void put(UResource. Implements abstract com. Doc from com. Called once for each bundle (child-parent-...-root). The value is normally an array or table resource, and implementations of this method normally iterate over the tree of resource items stored there.
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final CompactData. | |
| public static final CompactData. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static CompactData. | |
| public static CompactData. |
| CURRENCY | back to summary |
|---|---|
| public static final CompactData. | |
| DECIMAL | back to summary |
|---|---|
| public static final CompactData. | |
| CompactType | back to summary |
|---|---|
| private CompactType() | |
| valueOf | back to summary |
|---|---|
| public static CompactData. | |
| values | back to summary |
|---|---|
| public static CompactData. | |