Enum WordsType
- java.lang.Object
-
- java.lang.Enum<WordsType>
-
- net.andreinc.mockneat.types.enums.WordsType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADJECTIVESADJECTIVES_1SYLLADJECTIVES_2SYLLADJECTIVES_3SYLLADJECTIVES_4SYLLADVERBSADVERBS_1SYLLADVERBS_2SYLLADVERBS_3SYLLADVERBS_4SYLLNOUNSNOUNS_1SYLNOUNS_2SYLNOUNS_3SYLNOUNS_4SYLVERBSVERBS_1SYLLVERBS_2SYLLVERBS_3SYLLVERBS_4SYLL
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WordsTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static WordsType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
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
public static final WordsType NOUNS
-
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
public static final WordsType VERBS
-
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 namejava.lang.NullPointerException- if the argument is null
-
-