Enum Class Index.ConstraintType

java.lang.Object
java.lang.Enum<Index.ConstraintType>
org.drools.model.Index.ConstraintType
All Implemented Interfaces:
Serializable, Comparable<Index.ConstraintType>, Constable, ConstraintOperator
Enclosing interface:
Index<A,V>

public static enum Index.ConstraintType extends Enum<Index.ConstraintType> implements ConstraintOperator
  • Enum Constant Details

  • Method Details

    • values

      public static Index.ConstraintType[] 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 Index.ConstraintType 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
    • negate

      public Index.ConstraintType negate()
    • canInverse

      public boolean canInverse()
    • asPredicate

      public <T, V> BiPredicate<T,V> asPredicate()
      Specified by:
      asPredicate in interface ConstraintOperator
    • inverse

      public Index.ConstraintType inverse()
    • isComparison

      public boolean isComparison()
    • isAscending

      public boolean isAscending()
    • isDescending

      public boolean isDescending()