toSet

abstract fun <T> toSet(array: Array<T>): Set<T>

将数组转成 Set.

Return

转换后的 Set

Parameters

T
array

需要转换的数组