public static interface MathArithTypeEnum.Computer
Modifier and Type | Method and Description |
---|---|
CodegenExpression |
codegen(CodegenMethodScope codegenMethodScope,
CodegenClassScope codegenClassScope,
CodegenExpressionRef left,
CodegenExpressionRef right,
java.lang.Class ltype,
java.lang.Class rtype) |
java.lang.Number |
compute(java.lang.Number d1,
java.lang.Number d2)
Computes using the 2 numbers a result number.
|
java.lang.Number compute(java.lang.Number d1, java.lang.Number d2)
d1
- is the first numberd2
- is the second numberCodegenExpression codegen(CodegenMethodScope codegenMethodScope, CodegenClassScope codegenClassScope, CodegenExpressionRef left, CodegenExpressionRef right, java.lang.Class ltype, java.lang.Class rtype)