retainAll

fun retainAll(elements: LongList): Boolean(source)

Keeps only elements in the MutableLongList and removes all other values.

Return

true if the MutableLongList has changed.