Enum Class Binary.BinaryOp

java.lang.Object
java.lang.Enum<Binary.BinaryOp>
dev.vortex.api.expressions.Binary.BinaryOp
All Implemented Interfaces:
Serializable, Comparable<Binary.BinaryOp>, Constable
Enclosing class:
Binary

public static enum Binary.BinaryOp extends Enum<Binary.BinaryOp>
Enumeration of binary operators supported by binary expressions. Includes comparison operators and boolean algebra operators.
  • Enum Constant Details

    • EQ

      public static final Binary.BinaryOp EQ
      Equality comparison operator (==)
    • NOT_EQ

      public static final Binary.BinaryOp NOT_EQ
      Inequality comparison operator (!=)
    • GT

      public static final Binary.BinaryOp GT
      Greater-than comparison operator (>)
    • GT_EQ

      public static final Binary.BinaryOp GT_EQ
      Greater-than-or-equal comparison operator (>=)
    • LT

      public static final Binary.BinaryOp LT
      Less-than comparison operator (<)
    • LT_EQ

      public static final Binary.BinaryOp LT_EQ
      Less-than-or-equal comparison operator (<=)
    • AND

      public static final Binary.BinaryOp AND
      Logical AND operator (&&)
    • OR

      public static final Binary.BinaryOp OR
      Logical OR operator (||)
  • Method Details

    • values

      public static Binary.BinaryOp[] 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

      public static Binary.BinaryOp valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Overrides:
      toString in class Enum<Binary.BinaryOp>