RegistryKeyContext

Describes how RegistryKey instances are equated and stored in a ProviderRegistry.

Implementations of this interface define the equality and hashing semantics for registry keys, which affects how keys are stored, indexed, and retrieved in registries.

Inheritors

Functions

Link copied to clipboard
abstract fun checkEqualityOf(left: RegistryKey<*>, right: RegistryKey<*>): Boolean

Checks equality between the left and the right keys.

Link copied to clipboard
abstract fun hashCodeOf(key: RegistryKey<*>): Int

Defines hash code of the specified key.