public static class Funcs.ADDOP extends Funcs.ABSTRACTADDOP
argList
debugInfo, name
Constructor and Description |
---|
ADDOP() |
Modifier and Type | Method and Description |
---|---|
Double |
doDoubleOp(Number result,
Number arg)
Do operation on Double type operands.
|
Float |
doFloatOp(Number result,
Number arg)
Do operation on Float type operands.
|
Number |
doIntOp(Number result,
Number arg)
Do operation on integer type operands (Long, Integer, Short,
Byte).
|
io.opsit.version.Version |
doVersionOp(Number result,
Number arg)
Do operation on Version types operands.
|
protected Number |
getNeutral() |
evalWithArgs
checkParamsList, doEvaluate, evaluateParameters, getTraceName, setParams
evaluate, getDebugInfo, getName, run, setDebugInfo, setName
protected Number getNeutral()
getNeutral
in class Funcs.ABSTRACTADDOP
public Number doIntOp(Number result, Number arg)
AbstractOp
public Float doFloatOp(Number result, Number arg)
AbstractOp
At least one of operands must be Float, the rest may be integer types.
public Double doDoubleOp(Number result, Number arg)
AbstractOp
At least one of operands must be Double, rest may be integer types or Float.
public io.opsit.version.Version doVersionOp(Number result, Number arg)
AbstractOp
At least one of operands must be Version, others may be other numeric types.
Copyright © 2022. All rights reserved.