IndexSet<E>.identity constructor

IndexSet<E>.identity()

Creates an IndexSet that uses identical and identityHashCode.

Equivalent to:

IndexSet(equals: identical, hashCode: identityHashCode)

Implementation

factory IndexSet.identity() = _IdentityIndexSet<E>;