public class ScalarAddEvaluator extends RecursiveObjectEvaluator implements TwoValueWorker
Modifier and Type | Field and Description |
---|---|
protected static long |
serialVersionUID |
constructingFactory, containedEvaluators, nodeId, streamContext
Constructor and Description |
---|
ScalarAddEvaluator(StreamExpression expression,
StreamFactory factory) |
Modifier and Type | Method and Description |
---|---|
Object |
doWork(Object value1,
Object value2) |
protected double |
operate(double value,
double d) |
evaluate, getStreamContext, normalizeInputType, normalizeOutputType, recursivelyEvaluate, setStreamContext, toExplanation, toExpression
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
doWork
evaluateOverContext
protected static final long serialVersionUID
public ScalarAddEvaluator(StreamExpression expression, StreamFactory factory) throws IOException
IOException
public Object doWork(Object value1, Object value2) throws IOException
doWork
in interface TwoValueWorker
IOException
protected double operate(double value, double d)
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.