default is Identity mode, its simpy the way it determines if the fact
already exists in the working memory.
fact.equals( fact ) is Equality mode
fact == fact is Identity mode.
Mark
nicolae oana wrote:
Dear all,
I read in Drools manual about how Working Memory stores the asserted
objects : Identity mode and Equality mode.
But I'm not sure I properly understood the differences. In what
concerns the Equality mode, the return of a FactHandle is done only
when a different type of object is asserted?( a type that not exists
yet in HashTable?). In the rest cases nothing is happening ?
Best regards,
Oana.
------------------------------------------------------------------------
Need Mail bonding?
Go to the Yahoo! Mail Q&A
<
http://answers.yahoo.com/dir/index;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwO...
for great tips from Yahoo! Answers
<
http://answers.yahoo.com/dir/index;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwO...
users.
------------------------------------------------------------------------
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users