Package it.unive.lisa.symbolic.value
Interface Operator
-
- All Known Implementing Classes:
BinaryOperator,TernaryOperator,UnaryOperator
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface OperatorAn operator that causes a transformation of one or moreSymbolicExpressions.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description java.lang.StringgetStringRepresentation()Yields the string representation of the operator.default Operatoropposite()Yields the opposite operator of this operator (e.g.,BinaryOperator.COMPARISON_LEtoBinaryOperator.COMPARISON_GT,BinaryOperator.COMPARISON_LTtoBinaryOperator.COMPARISON_GE).
-
-
-
Method Detail
-
getStringRepresentation
java.lang.String getStringRepresentation()
Yields the string representation of the operator.- Returns:
- the string representation
-
opposite
default Operator opposite()
Yields the opposite operator of this operator (e.g.,BinaryOperator.COMPARISON_LEtoBinaryOperator.COMPARISON_GT,BinaryOperator.COMPARISON_LTtoBinaryOperator.COMPARISON_GE).- Returns:
- the opposite operator of this operator
-
-