Interface NegatableOperator
-
- All Superinterfaces:
Operator
- All Known Subinterfaces:
ComparisonOperator
,LogicalOperator
- All Known Implementing Classes:
ComparisonEq
,ComparisonGe
,ComparisonGt
,ComparisonLe
,ComparisonLt
,ComparisonNe
,LogicalAnd
,LogicalNegation
,LogicalOperation
,LogicalOr
,NumericComparison
public interface NegatableOperator extends Operator
A logical operation on operand(s) of typeBooleanType
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NegatableOperator
opposite()
Yields the opposite operator of this operator (e.g.,ComparisonLe
toComparisonGt
,ComparisonLt
toComparisonGe
).
-
-
-
Method Detail
-
opposite
NegatableOperator opposite()
Yields the opposite operator of this operator (e.g.,ComparisonLe
toComparisonGt
,ComparisonLt
toComparisonGe
).- Returns:
- the opposite operator of this operator
-
-