remove

fun remove(element: E): Boolean

Removes the specified element from the set.

Return

true if the element was present in the set, or false if it wasn't present before removal.

Parameters

element

The element to be removed from the set.