replaceAll

abstract fun replaceAll(elements: Collection<E>): Boolean

Replaces the list's contents with elements.

Return

true if any changes made to the list

Parameters

elements

to replace the contents with