public class Or extends Operator
| Modifier and Type | Field and Description |
|---|---|
protected BooleanExpression |
right
Right Boolean expression of the 'or' operator
|
| Constructor and Description |
|---|
Or(BooleanExpression left,
BooleanExpression right)
Creates a new combination of two Boolean expression
on basis of the logical 'or'.
|
Or(BooleanExpression be1,
BooleanExpression be2,
BooleanExpression be3,
BooleanExpression... be)
Applies the 'or' operator to three or more boolean expressions.
|
| Modifier and Type | Method and Description |
|---|---|
BooleanExpression |
getLeft()
Gets the left boolean expression of the 'or' operator.
|
BooleanExpression |
getRight()
Gets the right boolean expression of the 'or' operator.
|
java.lang.String |
toString() |
protected BooleanExpression right
public Or(BooleanExpression left, BooleanExpression right)
left - left Boolean expression of the 'or' operatorright - right Boolean expression of the 'or' operatorpublic Or(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