addAll

fun addAll(index: Int, elements: LongArray): Boolean(source)

Adds all elements to the MutableLongList at the given index, shifting over any elements at index and after, if any.

Return

true if the MutableLongList was changed or false if elements was empty

Throws

if index isn't between 0 and size, inclusive.


fun addAll(index: Int, elements: LongList): Boolean(source)

Adds all elements to the MutableLongList at the given index, shifting over any elements at index and after, if any.

Return

true if the MutableLongList was changed or false if elements was empty

Throws

if index isn't between 0 and size, inclusive


inline fun addAll(elements: LongList): Boolean(source)
inline fun addAll(elements: LongArray): Boolean(source)
inline fun addAll(elements: List<Long>): Boolean(source)

Adds all elements to the end of the MutableLongList and returns true if the MutableLongList was changed or false if elements was empty.