addAll

abstract fun addAll(c: Collection<out T>): Boolean(source)

Adds any of the given objects to the collection that do not have the same name as any existing element.

Return

true if any item was added, or false if all items have non unique names within this collection.

Parameters

c

the items to add to the collection