Enum UserNameType
- java.lang.Object
-
- java.lang.Enum<UserNameType>
-
- net.andreinc.mockneat.types.enums.UserNameType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<UserNameType>
public enum UserNameType extends java.lang.Enum<UserNameType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADJECTIVE_FIRST_NAMEADJECTIVE_FIRST_NAME_FEMALEADJECTIVE_FIRST_NAME_MALEADJECTIVE_LAST_NAMEADJECTIVE_NOUNADVERB_VERB
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<Pair<DictType,DictType>>getDictCombos()static UserNameTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static UserNameType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADJECTIVE_NOUN
public static final UserNameType ADJECTIVE_NOUN
-
ADVERB_VERB
public static final UserNameType ADVERB_VERB
-
ADJECTIVE_FIRST_NAME
public static final UserNameType ADJECTIVE_FIRST_NAME
-
ADJECTIVE_LAST_NAME
public static final UserNameType ADJECTIVE_LAST_NAME
-
ADJECTIVE_FIRST_NAME_MALE
public static final UserNameType ADJECTIVE_FIRST_NAME_MALE
-
ADJECTIVE_FIRST_NAME_FEMALE
public static final UserNameType ADJECTIVE_FIRST_NAME_FEMALE
-
-
Method Detail
-
values
public static UserNameType[] 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 (UserNameType c : UserNameType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UserNameType 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
-
-