LinkedHashSet<E>.identity constructor

LinkedHashSet<E>.identity()

Creates an insertion-ordered identity-based set.

Effectively shorthand for:

LinkedHashSet<E>(equals: identical, hashCode: identityHashCode)

Implementation

external factory LinkedHashSet.identity();