Enum TypeEnum
- java.lang.Object
-
- java.lang.Enum<TypeEnum>
-
- de.uka.ipd.sdq.stoex.analyser.visitors.TypeEnum
-
- All Implemented Interfaces:
Serializable
,Comparable<TypeEnum>
public enum TypeEnum extends Enum<TypeEnum>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANY
ANY_PMF
AUX_FUNCTION
BOOL
BOOL_PMF
CONTINOUS_PROBFUNCTION
DOUBLE
DOUBLE_PDF
DOUBLE_PMF
ENUM
ENUM_PMF
INT
INT_PMF
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TypeEnum
valueOf(String name)
Returns the enum constant of this type with the specified name.static TypeEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INT
public static final TypeEnum INT
-
BOOL
public static final TypeEnum BOOL
-
DOUBLE
public static final TypeEnum DOUBLE
-
ENUM
public static final TypeEnum ENUM
-
INT_PMF
public static final TypeEnum INT_PMF
-
DOUBLE_PMF
public static final TypeEnum DOUBLE_PMF
-
ENUM_PMF
public static final TypeEnum ENUM_PMF
-
BOOL_PMF
public static final TypeEnum BOOL_PMF
-
DOUBLE_PDF
public static final TypeEnum DOUBLE_PDF
-
ANY_PMF
public static final TypeEnum ANY_PMF
-
CONTINOUS_PROBFUNCTION
public static final TypeEnum CONTINOUS_PROBFUNCTION
-
AUX_FUNCTION
public static final TypeEnum AUX_FUNCTION
-
ANY
public static final TypeEnum ANY
-
-
Method Detail
-
values
public static TypeEnum[] 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 (TypeEnum c : TypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TypeEnum 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
-
-