hash

context(hashing: Hashing<Element>)
fun <Element> Element.hash(): Int(source)

Computes a hash code of this element in the provided Hashing context.

A bridge contextual function for Hashing.hash.

Receiver

The element for which to compute the hash code.

Return

The hash code value for this element according to the provided hashing context.

Context Parameters

hashing

The hashing context in which to compute the hash code.

Type Parameters

Element

The type of elements for which to compute the hash code.