[rules-users] Drools assertBehaviour IDENTITY vs EQUALITY

Wolfgang Laun wolfgang.laun at gmail.com
Tue Apr 10 10:49:47 EDT 2012


On 10/04/2012, gboro54 <gboro54 at gmail.com> wrote:
> I am wondering how drools identifies what the IDENTITY of an object is for
> insertion?

java.util.IdentityHashMap
java.lang.System.identityHashCode(.)

> Additionally are there any known performance differences between
> one and the other?

Don't think so.

-W

>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/Drools-assertBehaviour-IDENTITY-vs-EQUALITY-tp3899456p3899456.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>



More information about the rules-users mailing list