Enum PluralRules.KeywordStatus

    • Enum Constant Detail

      • INVALID

        public static final PluralRules.KeywordStatus INVALID
        The keyword is not valid for the rules.
        Status:
        Draft ICU 50.
      • UNIQUE

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

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

        public static final PluralRules.KeywordStatus UNBOUNDED
        The keyword is valid but not bounded; there indefinitely many matching values.
        Status:
        Draft ICU 50.
    • Method Detail

      • values

        public static PluralRules.KeywordStatus[] 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 (PluralRules.KeywordStatus c : PluralRules.KeywordStatus.values())
            System.out.println(c);
        
        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