public static class RelationalOpEnum.GTBigDecConvComputer extends java.lang.Object implements RelationalOpEnum.Computer
Constructor and Description |
---|
GTBigDecConvComputer(SimpleNumberBigDecimalCoercer convOne,
SimpleNumberBigDecimalCoercer convTwo)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
CodegenExpression |
codegen(CodegenExpressionRef lhs,
java.lang.Class lhsType,
CodegenExpression rhs,
java.lang.Class rhsType) |
boolean |
compare(java.lang.Object objOne,
java.lang.Object objTwo)
Compares objects and returns boolean indicating larger (true) or smaller (false).
|
public GTBigDecConvComputer(SimpleNumberBigDecimalCoercer convOne, SimpleNumberBigDecimalCoercer convTwo)
convOne
- convertor for LHSconvTwo
- convertor for RHSpublic boolean compare(java.lang.Object objOne, java.lang.Object objTwo)
RelationalOpEnum.Computer
compare
in interface RelationalOpEnum.Computer
objOne
- object to compareobjTwo
- object to comparepublic CodegenExpression codegen(CodegenExpressionRef lhs, java.lang.Class lhsType, CodegenExpression rhs, java.lang.Class rhsType)
codegen
in interface RelationalOpEnum.Computer