boolean java.util.List.removeAll(Collection> c)
Removes from this list all of its elements that are contained in the
specified collection (optional operation).
See Also:
remove(Object)
contains(Object)
Parameters:
c collection containing elements to be removed from this list
Returns:
true if this list changed as a result of the call
Throws:
UnsupportedOperationException if the removeAll operation is not
supported by this list
ClassCastException if the class of an element of this list is incompatible
with the specified collection (optional)
NullPointerException if this list contains a null element and the specified
collection does not permit null elements (optional), or if the specified
collection is null
鼠标放上去是这么说的。。