buildLazyHashCode

inline fun buildLazyHashCode(crossinline initializer: HashCodeBuilder.() -> Unit): Lazy<Int>

Creates a lazy hash code using a builder initializer function.

Return

A Lazy instance that computes the hash code when accessed.

Parameters

initializer

A lambda function to build the hash code using HashCodeBuilder.

See also

for details on hash code computation.