Kotlin HashMap equals()
Syntax & Examples
Syntax of HashMap.equals()
The syntax of HashMap.equals() function is:
fun equals(other: Any?): Boolean
This equals() function of HashMap indicates whether some other object is "equal to" this one. Implementations must fulfil the following requirements: