S
- - the type of Expression
corresponding to the left operandT
- - the type of Expression
corresponding to the right operandpublic final class BinaryLogicalExpression<S extends Expression,T extends Expression> extends Object implements LogicalExpression
BinaryExpression
that represents a boolean formula
with two expressions joined by a logical operator.Constructor and Description |
---|
BinaryLogicalExpression(S leftOperand,
BinaryLogicalOperator operator,
T rightOperand)
Constructs a
BinaryLogicalExpression whose operands are
expressions joined by a BinaryLogicalOperator . |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
S |
getLeftOperand() |
U |
getOperator() |
T |
getRightOperand() |
int |
hashCode() |
String |
toString() |
public BinaryLogicalExpression(S leftOperand, BinaryLogicalOperator operator, T rightOperand)
BinaryLogicalExpression
whose operands are
expressions joined by a BinaryLogicalOperator
.
This constructor exists mainly for JSON serialization, use methods in
ExpressionFactory
instead of this constructor.
leftOperand
- - left operand for this expressionoperator
- - the operator for this expressionrightOperand
- - right operand for this expressionCopyright © 2018. All rights reserved.