T
- - type of Expression
used for the operandpublic final class UnaryLogicalExpression<T extends ComparisonExpression> extends Object implements LogicalExpression
UnaryExpression
which represents a boolean formula
with one comparison expression and a logical operator.Constructor and Description |
---|
UnaryLogicalExpression(T operand,
UnaryLogicalOperator operator)
Constructs a
UnaryLogicalExpression given an operand
and a UnaryLogicalOperator . |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
S |
getOperand() |
T |
getOperator() |
int |
hashCode() |
String |
toString() |
public UnaryLogicalExpression(T operand, UnaryLogicalOperator operator)
UnaryLogicalExpression
given an operand
and a UnaryLogicalOperator
.
This constructor exists mainly for JSON serialization, use methods in
ExpressionFactory
instead of this constructor.
operand
- - the operand for this expressionoperator
- - the operator for this expressionCopyright © 2017. All Rights Reserved.