hashSetOf

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

Returns an empty new HashSet.

Since Kotlin

1.1

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

Returns a new HashSet with the given elements.