T
- - the type parameter of this expression's Key
public final class BinaryComparisonExpression<T> extends Object implements ComparisonExpression
BinaryExpression
that corresponds to an algebraic comparison
between a Key
and a corresponding value.Constructor and Description |
---|
BinaryComparisonExpression(LiteralExpression<Key<T>> leftOperand,
BinaryComparisonOperator operator,
LiteralExpression<T> rightOperand)
Constructs a
BinaryComparisonExpression whose operands are
a LiteralExpression for a Key and a LiteralExpression
for the value to compare against the key. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
S |
getLeftOperand() |
U |
getOperator() |
T |
getRightOperand() |
int |
hashCode() |
String |
toString() |
public BinaryComparisonExpression(LiteralExpression<Key<T>> leftOperand, BinaryComparisonOperator operator, LiteralExpression<T> rightOperand)
BinaryComparisonExpression
whose operands are
a LiteralExpression
for a Key
and a LiteralExpression
for the value to compare against the key.
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 © 2017. All rights reserved.