public class And extends Operator
Constructor and Description |
---|
And(BooleanExpression left,
BooleanExpression right)
Creates a new combination of two Boolean expression
on basis of the logical 'and'.
|
And(BooleanExpression be1,
BooleanExpression be2,
BooleanExpression be3,
BooleanExpression... be)
Applies the 'and' operator to three or more boolean expressions.
|
Modifier and Type | Method and Description |
---|---|
BooleanExpression |
getLeft()
Gets the left boolean expression of the 'and' operator.
|
BooleanExpression |
getRight()
Gets the right boolean expression of the 'and' operator.
|
java.lang.String |
toString() |
public And(BooleanExpression left, BooleanExpression right)
left
- left Boolean expression of the 'and' operatorright
- right Boolean expression of the 'and' operatorpublic And(BooleanExpression be1, BooleanExpression be2, BooleanExpression be3, BooleanExpression... be)
be1
- the first boolean expressionbe2
- the second boolean expressionbe3
- the third boolean expressionbe
- arbitrary number of additional boolean expressionspublic BooleanExpression getLeft()
public BooleanExpression getRight()
public java.lang.String toString()
toString
in class java.lang.Object