Package java.util
Interface Set
abstract boolean retainAll(Collection c)
_INSERT_METHOD_SIGNATURE_HERE_
Description:
Retains only the elements in this set that are contained in the specified collection (optional operation).
In other words, removes from this set all of its elements that are not contained in the specified collection. If the specified collection is also a set, this operation effectively modifies this set so that its value is the intersection of the two sets.