addAll

open override fun addAll()

Adds all of the elements from the appropriate enum type to this enum set, which is empty prior to the call.


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

Adds all of the elements in the specified collection to this set.

Return

true if this set changed as a result of the call

Parameters

elements

collection whose elements are to be added to this set

Throws

if the specified collection or any of its elements are null