toArray

open fun toArray(): Array<Long>

Creates a new array that contains all of the values in the set.

Return

an array containing all the values in the set