This method of the Attributes class removes all Attributes from the collection and sets the collection's size to 0 (zero).
public void removeAll();