toLongArray

open fun toLongArray(source: Collection<out Number>): Array<Long>

Converts the give collection of Number objects into an array of Long objects.

Return

an array of Long objects.

Parameters

source

a collection of Number objects


open fun toLongArray(source: Array<Long>): Array<Long>

Converts the give array of primitive long values into an array of Long values.

Return

an array of Long objects.

Parameters

source

an array of primitive long values.