Package adalid.core.enums
Enum ConditionalOp
- java.lang.Object
-
- java.lang.Enum<ConditionalOp>
-
- adalid.core.enums.ConditionalOp
-
- All Implemented Interfaces:
Operator,Serializable,Comparable<ConditionalOp>
public enum ConditionalOp extends Enum<ConditionalOp> implements Operator
- Author:
- Jorge Campins
-
-
Enum Constant Summary
Enum Constants Enum Constant Description IF_THENIF_THEN_ELSE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ConditionalOpvalueOf(String name)Returns the enum constant of this type with the specified name.static ConditionalOp[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IF_THEN
public static final ConditionalOp IF_THEN
-
IF_THEN_ELSE
public static final ConditionalOp IF_THEN_ELSE
-
-
Method Detail
-
values
public static ConditionalOp[] 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 (ConditionalOp c : ConditionalOp.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConditionalOp 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
-
-