Enum PluralRules.KeywordStatus

java.lang.Object
java.lang.Enum<PluralRules.KeywordStatus>
com.ibm.icu.text.PluralRules.KeywordStatus
All Implemented Interfaces:
Serializable, Comparable<PluralRules.KeywordStatus>, java.lang.constant.Constable
Enclosing class:
PluralRules

public static enum PluralRules.KeywordStatus extends Enum<PluralRules.KeywordStatus>
Status of the keyword for the rules, given a set of explicit values.
  • Enum Constant Details

    • INVALID

      public static final PluralRules.KeywordStatus INVALID
      The keyword is not valid for the rules.
    • SUPPRESSED

      public static final PluralRules.KeywordStatus SUPPRESSED
      The keyword is valid, but unused (it is covered by the explicit values, OR has no values for the given PluralRules.SampleType).
    • UNIQUE

      public static final PluralRules.KeywordStatus UNIQUE
      The keyword is valid, used, and has a single possible value (before considering explicit values).
    • BOUNDED

      public static final PluralRules.KeywordStatus BOUNDED
      The keyword is valid, used, not unique, and has a finite set of values.
    • UNBOUNDED

      public static final PluralRules.KeywordStatus UNBOUNDED
      The keyword is valid but not bounded; there indefinitely many matching values.
  • Method Details

    • values

      public static PluralRules.KeywordStatus[] 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

      public static PluralRules.KeywordStatus valueOf(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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null