Spec-Zone.ru › Kotlin 2

hashSetOf

kotlin-stdlib/kotlin.collections/hashSetOf

В 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

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API