Package-level declarations
Types
Link copied to clipboard
The IdentitySet utilizes an IdentityHashMap internally to act as a Set. It overrides the methods of MutableSet to provide set-like behavior but uses reference equality (===
) for comparisons instead of object equality (==
). This means the set checks if objects are the same instance in memory rather than having the same content.