Package com.ibm.icu.text
Enum PluralRules.KeywordStatus
- All Implemented Interfaces:
Serializable
,Comparable<PluralRules.KeywordStatus>
,java.lang.constant.Constable
- Enclosing class:
PluralRules
Status of the keyword for the rules, given a set of explicit values.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
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.KeywordStatus
Returns 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. -
SUPPRESSED
The keyword is valid, but unused (it is covered by the explicit values, OR has no values for the givenPluralRules.SampleType
). -
UNIQUE
The keyword is valid, used, and has a single possible value (before considering explicit values). -
BOUNDED
The keyword is valid, used, not unique, and has a finite set of values. -
UNBOUNDED
The keyword is valid but not bounded; there indefinitely many matching values.
-
-
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
-