(Violation) Remove any members of the bag that are not in the given collection, respecting cardinality. That is, if the given collection
coll contains
n copies of a given object and the bag has
m > n copies, then delete
m - n copies from the bag. In addition, if
e is an object in the bag but
!coll.contains(e), then remove
e and any of its copies.
The {@link Collection#retainAll(Collection)} method specifiesthat cardinality should not be respected; this method should keep all occurrences of every object contained in the given collection.
@param coll the collection to retain
@return true if this call changed the collection