org.rice.krms.test
Class CustomComparisonOperator

java.lang.Object
  extended by org.rice.krms.test.CustomComparisonOperator
All Implemented Interfaces:
Comparator, EngineComparatorExtension

public class CustomComparisonOperator
extends Object
implements EngineComparatorExtension

Used for testing the ComparisonOperatorService

Author:
Kuali Rice Team (rice.collab@kuali.org)

Constructor Summary
CustomComparisonOperator()
           
 
Method Summary
 boolean canCompare(Object lhs, Object rhs)
           
 int compare(Object lhs, Object rhs)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

CustomComparisonOperator

public CustomComparisonOperator()
Method Detail

compare

public int compare(Object lhs,
                   Object rhs)
Specified by:
compare in interface Comparator
Specified by:
compare in interface EngineComparatorExtension

canCompare

public boolean canCompare(Object lhs,
                          Object rhs)
Specified by:
canCompare in interface EngineComparatorExtension


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.