public abstract void clear ()

Removes all of the elements from this collection (optional operation). The collection will be empty after this method returns.

Exceptions:
UnsupportedOperationException    if the clear operation is not supported by this collection