Enum Class Conditional.Comparator

java.lang.Object
java.lang.Enum<Conditional.Comparator>
dev.foxikle.customnpcs.actions.conditions.Conditional.Comparator
All Implemented Interfaces:
Serializable, Comparable<Conditional.Comparator>, Constable
Enclosing interface:
Conditional

public static enum Conditional.Comparator extends Enum<Conditional.Comparator>
A list of comparators used to compare the values and target values of conditions
  • Enum Constant Details

    • EQUAL_TO

      public static final Conditional.Comparator EQUAL_TO
      Represents the value being equal to the target value
    • NOT_EQUAL_TO

      public static final Conditional.Comparator NOT_EQUAL_TO
      Represents the value being inequal to the target value
    • LESS_THAN

      public static final Conditional.Comparator LESS_THAN
      Represents the value being less than the target value
    • GREATER_THAN

      public static final Conditional.Comparator GREATER_THAN
      Represents the value being greater than the target value
    • LESS_THAN_OR_EQUAL_TO

      public static final Conditional.Comparator LESS_THAN_OR_EQUAL_TO
      Represents the value being less than or equal to the target value
    • GREATER_THAN_OR_EQUAL_TO

      public static final Conditional.Comparator GREATER_THAN_OR_EQUAL_TO
      Represents the value being greater than or equal to the target value
  • Method Details

    • values

      public static Conditional.Comparator[] 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 Conditional.Comparator 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