remove

open override fun remove(element: E): Boolean

Removes the specified element from this set if it is present.

Return

true if the set contained the specified element

Parameters

element

element to be removed from this set, if present