public class CalcClause
extends java.lang.Object
Constructor and Description |
---|
CalcClause(RdfThing result,
Operator operator,
RdfThing operand1,
RdfThing operand2)
Create a CalcClause with the provided operands, operator, and result.
|
public CalcClause(RdfThing result, Operator operator, RdfThing operand1, RdfThing operand2)
result
- the result of the operationoperator
- the operatoroperand1
- the first operandoperand2
- the second operandpublic boolean evaluate(java.util.Map<java.lang.String,RdfThing> vars)
vars
- the map of variablespublic java.lang.String toString()
toString
in class java.lang.Object