public static class MathArithTypeEnum.MultiplyLong extends java.lang.Object implements MathArithTypeEnum.Computer
Constructor and Description |
---|
MultiplyLong() |
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.
|
public java.lang.Number compute(java.lang.Number d1, java.lang.Number d2)
MathArithTypeEnum.Computer
compute
in interface MathArithTypeEnum.Computer
d1
- is the first numberd2
- is the second numberpublic CodegenExpression codegen(CodegenMethodScope codegenMethodScope, CodegenClassScope codegenClassScope, CodegenExpressionRef left, CodegenExpressionRef right, java.lang.Class ltype, java.lang.Class rtype)
codegen
in interface MathArithTypeEnum.Computer