[rules-users] Does Drools have memory address equals check operator

Wolfgang Laun wolfgang.laun at gmail.com
Sat May 4 01:51:47 EDT 2013


There's a paragraph or two about "assertion modes, i.e., equality or
identity" in the Drools Expert manual. Note that inserting identical
objects is against the meaning of "fact", and that may also be true
for objects that are equals().

For explicit control about the distinction between == and equals()
wrap your condition code in eval(), where Drools does not interfere.

-W

On 03/05/2013, Sean Su <sean.x.su at gmail.com> wrote:
> In another word, do we have operator doing what "object == object" in Java?
>
> thanks
>
> Sean
>


More information about the rules-users mailing list