equals

operator override fun equals(other: Any?): Boolean(source)

Checks whether this key is equal to other.

Returns true when other is the same instance, or when other is a SuppliedTypeRegistryKey with the same runtime class and equal supplied-type arguments.

Return

true if other represents the same supplied-type-aware registry key, false otherwise.

Parameters

other

The object to compare with this key.