Package de.hsh.graja.variability.is
Enum Api.InstantiationMode
- java.lang.Object
-
- java.lang.Enum<Api.InstantiationMode>
-
- de.hsh.graja.variability.is.Api.InstantiationMode
-
- All Implemented Interfaces:
Serializable
,Comparable<Api.InstantiationMode>
- Enclosing class:
- Api
public static enum Api.InstantiationMode extends Enum<Api.InstantiationMode>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Api.InstantiationMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static Api.InstantiationMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GIVEN
public static final Api.InstantiationMode GIVEN
-
RANDOM
public static final Api.InstantiationMode RANDOM
-
DEFAULT
public static final Api.InstantiationMode DEFAULT
-
-
Method Detail
-
values
public static Api.InstantiationMode[] 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 (Api.InstantiationMode c : Api.InstantiationMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Api.InstantiationMode valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-