Computes the intersection of two lists, and returns elements contained in both lists.
This function has two variants.
Sets a named list to an intersection of it and the another list.
<retainAll name=’variable name of list’> <!-- the other list--> </retainAll>
Returns the intersection of two lists.
<retainAll> <!-- the first list> <!-- second list--> </retainAll>