Package org.drools.mvel.parser.ast.expr
Enum HalfBinaryExpr.Operator
- java.lang.Object
-
- java.lang.Enum<HalfBinaryExpr.Operator>
-
- org.drools.mvel.parser.ast.expr.HalfBinaryExpr.Operator
-
- All Implemented Interfaces:
com.github.javaparser.printer.Stringable,java.io.Serializable,java.lang.Comparable<HalfBinaryExpr.Operator>
- Enclosing class:
- HalfBinaryExpr
public static enum HalfBinaryExpr.Operator extends java.lang.Enum<HalfBinaryExpr.Operator> implements com.github.javaparser.printer.Stringable
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EQUALSGREATERGREATER_EQUALSLESSLESS_EQUALSNOT_EQUALS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringasString()com.github.javaparser.ast.expr.BinaryExpr.OperatortoBinaryExprOperator()static HalfBinaryExpr.OperatorvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static HalfBinaryExpr.Operator[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EQUALS
public static final HalfBinaryExpr.Operator EQUALS
-
NOT_EQUALS
public static final HalfBinaryExpr.Operator NOT_EQUALS
-
LESS
public static final HalfBinaryExpr.Operator LESS
-
GREATER
public static final HalfBinaryExpr.Operator GREATER
-
LESS_EQUALS
public static final HalfBinaryExpr.Operator LESS_EQUALS
-
GREATER_EQUALS
public static final HalfBinaryExpr.Operator GREATER_EQUALS
-
-
Method Detail
-
values
public static HalfBinaryExpr.Operator[] 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 (HalfBinaryExpr.Operator c : HalfBinaryExpr.Operator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HalfBinaryExpr.Operator valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
asString
public java.lang.String asString()
- Specified by:
asStringin interfacecom.github.javaparser.printer.Stringable
-
toBinaryExprOperator
public com.github.javaparser.ast.expr.BinaryExpr.Operator toBinaryExprOperator()
-
-