hashSetOf

inline fun <T> hashSetOf(): HashSet<T>(source)

Returns an empty new HashSet.

Since Kotlin

1.1

fun <T> hashSetOf(vararg elements: T): HashSet<T>(source)

Returns a new HashSet with the given elements.

Since Kotlin

1.0