com.espertech.esper.type
Class RelationalOpEnum.GEBigDecConvComputer

java.lang.Object
  extended by com.espertech.esper.type.RelationalOpEnum.GEBigDecConvComputer
All Implemented Interfaces:
RelationalOpEnum.Computer
Enclosing class:
RelationalOpEnum

public static class RelationalOpEnum.GEBigDecConvComputer
extends java.lang.Object
implements RelationalOpEnum.Computer

Computer for relational op compare.


Constructor Summary
RelationalOpEnum.GEBigDecConvComputer(SimpleNumberBigDecimalCoercer convOne, SimpleNumberBigDecimalCoercer convTwo)
          Ctor.
 
Method Summary
 boolean compare(java.lang.Object objOne, java.lang.Object objTwo)
          Compares objects and returns boolean indicating larger (true) or smaller (false).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RelationalOpEnum.GEBigDecConvComputer

public RelationalOpEnum.GEBigDecConvComputer(SimpleNumberBigDecimalCoercer convOne,
                                             SimpleNumberBigDecimalCoercer convTwo)
Ctor.

Parameters:
convOne - convertor for LHS
convTwo - convertor for RHS
Method Detail

compare

public boolean compare(java.lang.Object objOne,
                       java.lang.Object objTwo)
Description copied from interface: RelationalOpEnum.Computer
Compares objects and returns boolean indicating larger (true) or smaller (false).

Specified by:
compare in interface RelationalOpEnum.Computer
Parameters:
objOne - object to compare
objTwo - object to compare
Returns:
true if larger, false if smaller

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com