linkedSetOf

inline fun <T> linkedSetOf(): LinkedHashSet<T>(source)

Returns an empty new LinkedHashSet.

Since Kotlin

1.1

Samples


fun <T> linkedSetOf(vararg elements: T): LinkedHashSet<T>(source)

Returns a new LinkedHashSet with the given elements. Elements of the set are iterated in the order they were specified.

Since Kotlin

1.1

Samples

inline fun <T> linkedSetOf(): LinkedHashSet<T>(source)

Returns an empty new LinkedHashSet.

Since Kotlin

1.1

Samples


fun <T> linkedSetOf(vararg elements: T): LinkedHashSet<T>(source)

Returns a new LinkedHashSet with the given elements. Elements of the set are iterated in the order they were specified.

Since Kotlin

1.0

Samples