public static boolean removeAll ( Iterable < ? > removeFrom , Collection < ? > elementsToRemove ) { return ( removeFrom instanceof Collection ) ? ( ( Collection < ? > ) removeFrom ) . removeAll ( checkNotNull ( elementsToRemove ) ) : Iterators . removeAll ( removeFrom . iterator ( ) , elementsToRemove ) ; }
Removes from an iterable every element that belongs to the provided collection .