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