Enum Class CompareOp

java.lang.Object
java.lang.Enum<CompareOp>
ai.timefold.jpyinterpreter.CompareOp
All Implemented Interfaces:
Serializable, Comparable<CompareOp>, Constable

public enum CompareOp extends Enum<CompareOp>
  • Enum Constant Details

    • LESS_THAN

      public static final CompareOp LESS_THAN
    • LESS_THAN_OR_EQUALS

      public static final CompareOp LESS_THAN_OR_EQUALS
    • EQUALS

      public static final CompareOp EQUALS
    • NOT_EQUALS

      public static final CompareOp NOT_EQUALS
    • GREATER_THAN

      public static final CompareOp GREATER_THAN
    • GREATER_THAN_OR_EQUALS

      public static final CompareOp GREATER_THAN_OR_EQUALS
  • Field Details

    • id

      public final String id
    • dunderMethod

      public final String dunderMethod
  • Method Details

    • values

      public static CompareOp[] 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 CompareOp 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
    • getOpForDunderMethod

      public static CompareOp getOpForDunderMethod(String dunderMethod)
    • getOp

      public static CompareOp getOp(String id)