Enum PluralRules.KeywordStatus
- All Implemented Interfaces:
Serializable, Comparable<PluralRules.KeywordStatus>
- Enclosing class:
PluralRules
Status of the keyword for the rules, given a set of explicit values.
- Status:
- Draft ICU 50.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe keyword is valid, used, not unique, and has a finite set of values.The keyword is not valid for the rules.The keyword is valid, but unused (it is covered by the explicit values, OR has no values for the givenPluralRules.SampleType).The keyword is valid but not bounded; there indefinitely many matching values.The keyword is valid, used, and has a single possible value (before considering explicit values). -
Method Summary
Modifier and TypeMethodDescriptionstatic PluralRules.KeywordStatusReturns the enum constant of this type with the specified name.static PluralRules.KeywordStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
INVALID
The keyword is not valid for the rules.- Status:
- Draft ICU 50.
-
SUPPRESSED
The keyword is valid, but unused (it is covered by the explicit values, OR has no values for the givenPluralRules.SampleType).- Status:
- Draft ICU 50.
-
UNIQUE
The keyword is valid, used, and has a single possible value (before considering explicit values).- Status:
- Draft ICU 50.
-
BOUNDED
The keyword is valid, used, not unique, and has a finite set of values.- Status:
- Draft ICU 50.
-
UNBOUNDED
The keyword is valid but not bounded; there indefinitely many matching values.- Status:
- Draft ICU 50.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-