addAll

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

Adds all of the elements of the specified collection to the end of this list.

The elements are appended in the order they appear in the elements collection.

Since Kotlin

1.0

Return

true if the list was changed as the result of the operation.


expect open override fun addAll(index: Int, elements: Collection<E>): Boolean(source)

Inserts all of the elements of the specified collection elements into this list at the specified index.

Since Kotlin

1.0

Return

true if the list was changed as the result of the operation.

actual open override fun addAll(index: Int, elements: Collection<E>): Boolean(source)

Inserts all of the elements of the specified collection elements into this list at the specified index.

Since Kotlin

1.1

Return

true if the list was changed as the result of the operation.

actual open override fun addAll(index: Int, elements: Collection<E>): Boolean(source)

Inserts all of the elements of the specified collection elements into this list at the specified index.

Since Kotlin

1.3

Return

true if the list was changed as the result of the operation.