public static <T>void removeAll(Collection<T> collection,Collection<T> elements){
  if (CollectionUtils.isEmpty(collection) || CollectionUtils.isEmpty(elements)) {
    return;
  }
  for (  T element : elements) {
    collection.remove(element);
  }
}

public static < T > void removeAll ( Collection < T > collection , Collection < T > elements ) { if ( CollectionUtils . isEmpty ( collection ) || CollectionUtils . isEmpty ( elements ) ) { return ; } for ( T element : elements ) { collection . remove ( element ) ; } }
safe method to remove all specified elements from the collection .
