Interface BooleanExpression

All Superinterfaces:
ComparableExpression<Boolean>, Expression<Boolean>

public interface BooleanExpression extends ComparableExpression<Boolean>
Representation of a boolean expression.
  • Method Details

    • and

      Method to return the AND of this expression and the other expression.
      Parameters:
      expr - The other expression
      Returns:
      The resultant (boolean) expression
    • or

      Method to return the OR of this expression and the other expression.
      Parameters:
      expr - The other expression
      Returns:
      The resultant (boolean) expression
    • not

      Method to negate this expression.
      Returns:
      The negated expression
    • neg

      Method to return an expression that is the current expression negated.
      Returns:
      The negated expression