add

fun add(e1: Long)


fun add(elements: LongArray, start: Int, length: Int)

Add all elements from a range of given array to the list.


fun add(vararg elements: Long)

Vararg-signature method for adding elements at the end of the list.

This method is handy, but costly if used in tight loops (anonymous array passing)