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