hash Set Of
В Kotlin начиная с версии: 1.1
inline fun <T> hashSetOf(): HashSet<T>
Возвращает новый пустой HashSet.
fun <T> hashSetOf(vararg elements: T): HashSet<T>
Возвращает новый HashSet с указанными элементами.
© 2010–2026 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/hash-set-of.html