| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final StandardPluralRanges | DEFAULT
An empty StandardPluralRanges instance. |
| pack-priv StandardPlural[] | |
| private static volatile Map | languageToSet
An immutable map from language codes to set IDs. |
| pack-priv int |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private void | addPluralRange(StandardPlural first, StandardPlural second, StandardPlural result)
Used for data loading. |
| public static StandardPluralRanges | |
| public static StandardPluralRanges | |
| private static Map | |
| private static void | |
| public static String | |
| public StandardPlural | |
| private void |
| DEFAULT | back to summary |
|---|---|
| public static final StandardPluralRanges DEFAULT An empty StandardPluralRanges instance. | |
| flatTriples | back to summary |
|---|---|
| pack-priv StandardPlural[] flatTriples | |
| languageToSet | back to summary |
|---|---|
| private static volatile Map<String, String> languageToSet An immutable map from language codes to set IDs. Pre-computed and cached in Java since it is used as a cache key for PluralRules. | |
| numTriples | back to summary |
|---|---|
| pack-priv int numTriples | |
| StandardPluralRanges | back to summary |
|---|---|
| private StandardPluralRanges() | |
| addPluralRange | back to summary |
|---|---|
| private void addPluralRange(StandardPlural first, StandardPlural second, StandardPlural result) Used for data loading. | |
| forLocale | back to summary |
|---|---|
| public static StandardPluralRanges forLocale(ULocale locale) Create a StandardPluralRanges based on locale. | |
| forSet | back to summary |
|---|---|
| public static StandardPluralRanges forSet(String set) Create a StandardPluralRanges based on set name. | |
| getLanguageToSet | back to summary |
|---|---|
| private static Map | |
| getPluralRangesData | back to summary |
|---|---|
| private static void getPluralRangesData(String set, StandardPluralRanges out) | |
| getSetForLocale | back to summary |
|---|---|
| public static String getSetForLocale(ULocale locale) Get the set name from the locale. | |
| resolve | back to summary |
|---|---|
| public StandardPlural resolve(StandardPlural first, StandardPlural second) | |
| setCapacity | back to summary |
|---|---|
| private void setCapacity(int length) Used for data loading. | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv StandardPluralRanges |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| 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. noFallback)Implements abstract com. |
| output | back to summary |
|---|---|
| pack-priv StandardPluralRanges output | |
| PluralRangesDataSink | back to summary |
|---|---|
| pack-priv PluralRangesDataSink(StandardPluralRanges output) | |
| 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.
| |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| 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. noFallback)Implements abstract com. |
| output | back to summary |
|---|---|
| pack-priv Map<String, String> output | |
| PluralRangeSetsDataSink | back to summary |
|---|---|
| pack-priv PluralRangeSetsDataSink(Map<String, String> output) | |
| 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.
| |