class CollectionUtilities {

    public static void removeAll(Collection<?> removeFrom, Collection<?> toRemove)
    {
        if (removeFrom instanceof Set)
        {
            removeAll((Set<?>)removeFrom, toRemove);
        }
        else if (!toRemove.isEmpty())
        {
            removeFrom.removeAll(toRemove);
        }
    }

    private  CollectionUtilities();

}