add

open override fun add(element: T): Boolean

Adds the specified element to the set.

Return

true if the element has been added, false if the set does not support duplicates and the element is already contained in the set.

Throws

if an element doesn't present in the map.