public class PositiveSignRealEvaluator extends AbstractRealEvaluator
Modifier and Type | Field and Description |
---|---|
protected Evaluator |
operandEval
The
Evaluator for the operand of the UnaryOperation . |
Constructor and Description |
---|
PositiveSignRealEvaluator(Evaluator e)
Creates a new
PositiveSignRealEvaluator with the specified
operand Evaluator . |
Modifier and Type | Method and Description |
---|---|
Object |
evaluate()
|
getRealValue, getReturnType
protected Evaluator operandEval
Evaluator
for the operand of the UnaryOperation
.public PositiveSignRealEvaluator(Evaluator e)
PositiveSignRealEvaluator
with the specified
operand Evaluator
. That operand Evaluator
provides the real value the unary operation of type '+' will be executed on.e
- the Evaluator
its real evaluation result
is to be assigned.public Object evaluate()
Real
Object
.AbstractRealEvaluator.getReturnType()