Package com.ibm.icu.number
Enum NumberSkeletonImpl.ParseState
- java.lang.Object
-
- java.lang.Enum<NumberSkeletonImpl.ParseState>
-
- com.ibm.icu.number.NumberSkeletonImpl.ParseState
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<NumberSkeletonImpl.ParseState>
- Enclosing class:
- NumberSkeletonImpl
static enum NumberSkeletonImpl.ParseState extends java.lang.Enum<NumberSkeletonImpl.ParseState>
While parsing a skeleton, this enum records what type of option we expect to find next.
-
-
Enum Constant Summary
-
Constructor Summary
Constructors Modifier Constructor Description private
ParseState()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NumberSkeletonImpl.ParseState
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static NumberSkeletonImpl.ParseState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STATE_NULL
public static final NumberSkeletonImpl.ParseState STATE_NULL
-
STATE_SCIENTIFIC
public static final NumberSkeletonImpl.ParseState STATE_SCIENTIFIC
-
STATE_FRACTION_PRECISION
public static final NumberSkeletonImpl.ParseState STATE_FRACTION_PRECISION
-
STATE_PRECISION
public static final NumberSkeletonImpl.ParseState STATE_PRECISION
-
STATE_INCREMENT_PRECISION
public static final NumberSkeletonImpl.ParseState STATE_INCREMENT_PRECISION
-
STATE_MEASURE_UNIT
public static final NumberSkeletonImpl.ParseState STATE_MEASURE_UNIT
-
STATE_PER_MEASURE_UNIT
public static final NumberSkeletonImpl.ParseState STATE_PER_MEASURE_UNIT
-
STATE_IDENTIFIER_UNIT
public static final NumberSkeletonImpl.ParseState STATE_IDENTIFIER_UNIT
-
STATE_UNIT_USAGE
public static final NumberSkeletonImpl.ParseState STATE_UNIT_USAGE
-
STATE_CURRENCY_UNIT
public static final NumberSkeletonImpl.ParseState STATE_CURRENCY_UNIT
-
STATE_INTEGER_WIDTH
public static final NumberSkeletonImpl.ParseState STATE_INTEGER_WIDTH
-
STATE_NUMBERING_SYSTEM
public static final NumberSkeletonImpl.ParseState STATE_NUMBERING_SYSTEM
-
STATE_SCALE
public static final NumberSkeletonImpl.ParseState STATE_SCALE
-
-
Method Detail
-
values
public static NumberSkeletonImpl.ParseState[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (NumberSkeletonImpl.ParseState c : NumberSkeletonImpl.ParseState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NumberSkeletonImpl.ParseState valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-