| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | NumberSkeletonImpl.BlueprintHelpers
Utility class for methods for processing stems and options that cannot be interpreted literally. |
| pack-priv static class | NumberSkeletonImpl.EnumToStemString
Utility class for methods that convert from enums to stem strings. |
| pack-priv static class | NumberSkeletonImpl.GeneratorHelpers
Utility class for methods for generating a token corresponding to each macro-prop. |
| pack-priv static enum | NumberSkeletonImpl.ParseState
While parsing a skeleton, this enum records what type of option we expect to find next. |
| pack-priv static enum | NumberSkeletonImpl.StemEnum
All possible stem literals have an entry in the StemEnum. |
| pack-priv static class | NumberSkeletonImpl.StemToObject
Utility class for methods that convert from StemEnum to corresponding objects or enums. |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final char | ALT_WILDCARD_CHAR
Alternative wildcard char, accept on input but not printed in output |
| private static final CacheBase | cache
Cache for parsed skeleton strings. |
| pack-priv static final String | SERIALIZED_STEM_TRIE
A data structure for mapping from stem strings to the stem enum. |
| pack-priv static final NumberSkeletonImpl. | STEM_ENUM_VALUES
For mapping from ordinal back to StemEnum in Java. |
| pack-priv static final char | WILDCARD_CHAR
Default wildcard char, accepted on input and printed in output |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private static void | |
| pack-priv static String | |
| private static void | |
| public static UnlocalizedNumberFormatter | |
| public static String | Returns: A skeleton string in normalized form.The NumberFormatter options object. macros)Create a skeleton string corresponding to the given NumberFormatter. |
| private static void | |
| public static UnlocalizedNumberFormatter | Returns: An UnlocalizedNumberFormatter with behavior defined by the given skeleton string.A number skeleton string, possibly not in its shortest form. skeletonString)Gets the number formatter for the given number skeleton string from the cache, creating it if it does not exist in the cache. |
| pack-priv static boolean | |
| private static NumberSkeletonImpl. | Returns: The next state after parsing this option, corresponding to what subset of options to expect next.Given that the current segment represents an option, parse it and save the result. |
| private static MacroProps | |
| private static NumberSkeletonImpl. | Returns: The next state after parsing this stem, corresponding to what subset of options to expect.Given that the current segment represents a stem, parse it and save the result. |