buildHashCode
inline fun buildHashCode(initialValue: Int = 31, multiplier: Int = 31, builderAction: HashCodeBuilder.() -> Unit): Int
Creates a hash code using a custom builder action.
Return
The computed hash code.
Parameters
initialValue
The initial value for the hash code computation. Defaults to 31
.
multiplier
The multiplier used in hash code calculation. Defaults to 31
.
builderAction
A lambda function to build the hash code using HashCodeBuilder.
See also
for details on how hash codes are computed.