I have two objects with nested collections in my working memory. I need to determine if elements from one collection exist in the other collection. Here's an idea of what my objects look like:<br><br>Class Foo:<br>List<Token> tokens<br>
<br>Class Bar:<br>List<Token> tokens<br><br>I'm putting instances of Foo and Bar into the working memory.<br><br>A few days ago I got this generic suggestion but I'm not sure what it's actually doing: <br>
<br>A( $colA : collection )<br>B( $colB : collection )<br>exists( Object( this memberOf $collectionB ) from $colA )<br><br>Can someone expand on that and explain what's happening? Any help is appreciated.<br><br>Regards,<br>
Nick<br>