addAll

open override fun addAll(elements: Collection<E>): Boolean

Adds all elements in the specified collection to the set. This operation is synchronized.

Return

true if the set was modified as a result of the call.

Parameters

elements

The collection containing elements to be added to the set.