public static class Funcs.DIVOP extends Funcs.ABSTRACT_SUB
argList
debugInfo, name
Constructor and Description |
---|
DIVOP() |
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.
|
protected Number |
getNeutral() |
evalWithArgs
checkParamsList, doEvaluate, evaluateParameters, getTraceName, setParams
evaluate, getDebugInfo, getName, run, setDebugInfo, setName
public Number doIntOp(Number arg1, Number arg2)
AbstractOp
public Double doDoubleOp(Number arg1, Number arg2)
AbstractOp
At least one of operands must be Double, rest may be integer types or Float.
public Double doVersionOp(Number arg1, Number arg2)
AbstractOp
At least one of operands must be Version, others may be other numeric types.
public Float doFloatOp(Number arg1, Number arg2)
AbstractOp
At least one of operands must be Float, the rest may be integer types.
protected Number getNeutral()
getNeutral
in class Funcs.ABSTRACT_SUB
Copyright © 2022. All rights reserved.