kotlin-stdlib
Common
kotlin-stdlib
/
kotlin.collections
/
toHashSet
to
Hash
Set
Common
fun
<
T
>
Array
<
out
T
>
.
toHashSet
(
)
:
HashSet
<
T
>
Content copied to clipboard
fun
ByteArray
.
toHashSet
(
)
:
HashSet
<
Byte
>
Content copied to clipboard
fun
ShortArray
.
toHashSet
(
)
:
HashSet
<
Short
>
Content copied to clipboard
fun
IntArray
.
toHashSet
(
)
:
HashSet
<
Int
>
Content copied to clipboard
fun
LongArray
.
toHashSet
(
)
:
HashSet
<
Long
>
Content copied to clipboard
fun
FloatArray
.
toHashSet
(
)
:
HashSet
<
Float
>
Content copied to clipboard
fun
DoubleArray
.
toHashSet
(
)
:
HashSet
<
Double
>
Content copied to clipboard
fun
BooleanArray
.
toHashSet
(
)
:
HashSet
<
Boolean
>
Content copied to clipboard
fun
CharArray
.
toHashSet
(
)
:
HashSet
<
Char
>
Content copied to clipboard
fun
<
T
>
Iterable
<
T
>
.
toHashSet
(
)
:
HashSet
<
T
>
Content copied to clipboard
Returns a new
HashSet
of all elements.