Package dev.orne.test.rnd.it
Enum EnumCustomGenerator.Values
- All Implemented Interfaces:
Serializable
,Comparable<EnumCustomGenerator.Values>
,java.lang.constant.Constable
- Enclosing class:
- EnumCustomGenerator
Test enumeration.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe default enumeration constant.The non default enumeration constant.The non default enumeration constant.The non default enumeration constant.The non generated enumeration constant. -
Method Summary
Modifier and TypeMethodDescriptionstatic EnumCustomGenerator.Values
Returns the enum constant of this type with the specified name.static EnumCustomGenerator.Values[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
DEFAULT
The default enumeration constant. -
UNDESIRED
The non generated enumeration constant. -
NON_DEFAULT_A
The non default enumeration constant. -
NON_DEFAULT_B
The non default enumeration constant. -
NON_DEFAULT_C
The non default enumeration constant.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 nameNullPointerException
- if the argument is null
-