public class DefaultEval extends AbstractUnaryFunctionOp<String,Object> implements Ops.Eval
The expression is parsed using Parsington, the SciJava expression parsing library, then evaluated by invoking available ops.
OpEvaluator
SpecialOp.Flavor
Constructor and Description |
---|
DefaultEval() |
Modifier and Type | Method and Description |
---|---|
Object |
calculate(String input)
Calculates the output given some input.
|
void |
initialize()
Initializes the object.
|
in, out, run, setInput
ops, setEnvironment
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
ops, setEnvironment
calculate, getIndependentInstance, run
run
candidates, filterArity, op
public void initialize()
Initializable
initialize
in interface Initializable
public Object calculate(String input)
UnaryFunctionOp
calculate
in interface UnaryFunctionOp<String,Object>
input
- Argument to the functionCopyright © 2014–2022 ImageJ. All rights reserved.