Enum BooleanOperator
- java.lang.Object
-
- java.lang.Enum<BooleanOperator>
-
- net.sourceforge.pmd.lang.apex.ast.BooleanOperator
-
- All Implemented Interfaces:
Serializable
,Comparable<BooleanOperator>
public enum BooleanOperator extends Enum<BooleanOperator>
Apex boolean operator
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALT_NOT_EQUAL
EQUAL
EXACTLY_EQUAL
EXACTLY_NOT_EQUAL
GREATER_THAN
GREATER_THAN_OR_EQUAL
LESS_THAN
LESS_THAN_OR_EQUAL
LOGICAL_AND
LOGICAL_OR
NOT_EQUAL
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
static BooleanOperator
valueOf(apex.jorje.data.ast.BooleanOp op)
Returns aBooleanOperator
corresponding to the givenBooleanOp
.static BooleanOperator
valueOf(String name)
Returns the enum constant of this type with the specified name.static BooleanOperator[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EQUAL
public static final BooleanOperator EQUAL
-
NOT_EQUAL
public static final BooleanOperator NOT_EQUAL
-
ALT_NOT_EQUAL
public static final BooleanOperator ALT_NOT_EQUAL
-
EXACTLY_EQUAL
public static final BooleanOperator EXACTLY_EQUAL
-
EXACTLY_NOT_EQUAL
public static final BooleanOperator EXACTLY_NOT_EQUAL
-
LESS_THAN
public static final BooleanOperator LESS_THAN
-
GREATER_THAN
public static final BooleanOperator GREATER_THAN
-
LESS_THAN_OR_EQUAL
public static final BooleanOperator LESS_THAN_OR_EQUAL
-
GREATER_THAN_OR_EQUAL
public static final BooleanOperator GREATER_THAN_OR_EQUAL
-
LOGICAL_AND
public static final BooleanOperator LOGICAL_AND
-
LOGICAL_OR
public static final BooleanOperator LOGICAL_OR
-
-
Method Detail
-
values
public static BooleanOperator[] 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 (BooleanOperator c : BooleanOperator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BooleanOperator 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
-
toString
public String toString()
- Overrides:
toString
in classEnum<BooleanOperator>
-
valueOf
public static BooleanOperator valueOf(apex.jorje.data.ast.BooleanOp op)
Returns aBooleanOperator
corresponding to the givenBooleanOp
.
-
-