stdlib
1.8
1.8
1.7
1.6
1.5
1.4
1.3
1.2
1.1
1.0
Common
stdlib
/
kotlin.collections
/
hashSetOf
hash
Set
Of
inline
fun
<
T
>
hashSetOf
(
)
:
HashSet
<
T
>
(
source
)
Returns an empty new
HashSet
.
Since Kotlin
1.2
fun
<
T
>
hashSetOf
(
vararg
elements
:
T
)
:
HashSet
<
T
>
(
source
)
Returns a new
HashSet
with the given elements.
Since Kotlin
1.2