clear() deletes every element from the collection and removeAll() one only removes the elements matching those from another Collection.