Hash

trait Hash[a: Type]Source

A trait for types that can be hashed.

Signatures

def hash(x: a): Int32 with Hash[a] Source

Returns a hash value for the given x.

Module Definitions

def combine(h1: Int32, h2: Int32): Int32 Source

Combines the two given hash values.

def magic(_unit: Unit): Int32 Source

Returns a number used for combining hash values.