from

fun from(vararg elements: Long): LongArrayList

Create a list from a variable number of arguments or an array of int. The elements are copied from the argument to the internal buffer.