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.
OpEvaluatorSpecialOp.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, setInputops, setEnvironmentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitops, setEnvironmentcalculate, getIndependentInstance, runruncandidates, filterArity, oppublic void initialize()
Initializableinitialize in interface Initializablepublic Object calculate(String input)
UnaryFunctionOpcalculate in interface UnaryFunctionOp<String,Object>input - Argument to the functionCopyright © 2014–2022 ImageJ. All rights reserved.