removeAll (Collection c) Delete all objects in the collection that are in c.
retainAll (Collection c) In the collection that it invokes, only those objects that are in c (intersection) will remain.
My question is, do they work the same way? Since retainAll has to remove the uncommon elements, and removeAll does the previously set action