public static class Funcs.MODOP extends Funcs.FuncExp implements AbstractOp
argList
debugInfo, name
Constructor and Description |
---|
MODOP() |
Modifier and Type | Method and Description |
---|---|
Double |
doDoubleOp(Number arg1,
Number arg2)
Do operation on Double type operands.
|
Float |
doFloatOp(Number arg1,
Number arg2)
Do operation on Float type operands.
|
Number |
doIntOp(Number arg1,
Number arg2)
Do operation on integer type operands (Long, Integer, Short,
Byte).
|
Double |
doVersionOp(Number arg1,
Number arg2)
Do operation on Version types operands.
|
Object |
evalWithArgs(Backtrace backtrace,
Compiler.Eargs eargs) |
checkParamsList, doEvaluate, evaluateParameters, getTraceName, setParams
evaluate, getDebugInfo, getName, run, setDebugInfo, setName
public Object evalWithArgs(Backtrace backtrace, Compiler.Eargs eargs)
evalWithArgs
in class Funcs.FuncExp
public Number doIntOp(Number arg1, Number arg2)
AbstractOp
doIntOp
in interface AbstractOp
public Double doDoubleOp(Number arg1, Number arg2)
AbstractOp
At least one of operands must be Double, rest may be integer types or Float.
doDoubleOp
in interface AbstractOp
public Double doVersionOp(Number arg1, Number arg2)
AbstractOp
At least one of operands must be Version, others may be other numeric types.
doVersionOp
in interface AbstractOp
public Float doFloatOp(Number arg1, Number arg2)
AbstractOp
At least one of operands must be Float, the rest may be integer types.
doFloatOp
in interface AbstractOp
Copyright © 2022. All rights reserved.