Enum WordsType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<WordsType>

    public enum WordsType
    extends java.lang.Enum<WordsType>
    • Enum Constant Detail

      • ADJECTIVES

        public static final WordsType ADJECTIVES
      • ADJECTIVES_1SYLL

        public static final WordsType ADJECTIVES_1SYLL
      • ADJECTIVES_2SYLL

        public static final WordsType ADJECTIVES_2SYLL
      • ADJECTIVES_3SYLL

        public static final WordsType ADJECTIVES_3SYLL
      • ADJECTIVES_4SYLL

        public static final WordsType ADJECTIVES_4SYLL
      • ADVERBS

        public static final WordsType ADVERBS
      • ADVERBS_1SYLL

        public static final WordsType ADVERBS_1SYLL
      • ADVERBS_2SYLL

        public static final WordsType ADVERBS_2SYLL
      • ADVERBS_3SYLL

        public static final WordsType ADVERBS_3SYLL
      • ADVERBS_4SYLL

        public static final WordsType ADVERBS_4SYLL
      • NOUNS_1SYL

        public static final WordsType NOUNS_1SYL
      • NOUNS_2SYL

        public static final WordsType NOUNS_2SYL
      • NOUNS_3SYL

        public static final WordsType NOUNS_3SYL
      • NOUNS_4SYL

        public static final WordsType NOUNS_4SYL
      • VERBS_1SYLL

        public static final WordsType VERBS_1SYLL
      • VERBS_2SYLL

        public static final WordsType VERBS_2SYLL
      • VERBS_3SYLL

        public static final WordsType VERBS_3SYLL
      • VERBS_4SYLL

        public static final WordsType VERBS_4SYLL
    • Method Detail

      • values

        public static WordsType[] 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 (WordsType c : WordsType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static WordsType 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 name
        java.lang.NullPointerException - if the argument is null