add

open override fun add(element: T): Boolean

Adds an element to the set.

Return

true if the element was added, false otherwise.

Parameters

element

the element to add.

See also