[rules-users] Less than "<" greater than ">" operator

Ji Oh Yoo jioh.yoo.dev at gmail.com
Mon Oct 25 01:31:08 EDT 2010


Hi,

In drools rules, we can use "<" or ">" (also "<=" and ">") to write
conditions
with numbers and strings.
But how does it work?
My question is, does it call the compareTo() method?
If it does, will those operators work with any objects inherited from
Comparable<T>?


Thanks.
-- 
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Less-than-greater-than-operator-tp1765541p1765541.html
Sent from the Drools - User mailing list archive at Nabble.com.



More information about the rules-users mailing list