fun hashCode(): Int
Returns a hash code value for the object. The general contract of hashCode
is:
hashCode
method must consistently return the same integer, provided no information used in equals
comparisons on the object is modified.equals()
method, then calling the hashCode
method on each of the two objects must produce the same integer result.
© 2010–2019 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.ranges/-u-int-range/hash-code.html