Package dev.vortex.api.expressions
Enum Class Binary.BinaryOp
- All Implemented Interfaces:
Serializable
,Comparable<Binary.BinaryOp>
,Constable
- Enclosing class:
- Binary
Enumeration of binary operators supported by binary expressions.
Includes comparison operators and boolean algebra operators.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionLogical AND operator (&&)Equality comparison operator (==)Greater-than comparison operator (>)Greater-than-or-equal comparison operator (>=)Less-than comparison operator (<)Less-than-or-equal comparison operator (<=)Inequality comparison operator (!=)Logical OR operator (||) -
Method Summary
Modifier and TypeMethodDescriptiontoString()
static Binary.BinaryOp
Returns the enum constant of this class with the specified name.static Binary.BinaryOp[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EQ
Equality comparison operator (==) -
NOT_EQ
Inequality comparison operator (!=) -
GT
Greater-than comparison operator (>) -
GT_EQ
Greater-than-or-equal comparison operator (>=) -
LT
Less-than comparison operator (<) -
LT_EQ
Less-than-or-equal comparison operator (<=) -
AND
Logical AND operator (&&) -
OR
Logical OR operator (||)
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
- Overrides:
toString
in classEnum<Binary.BinaryOp>
-