MapHash

cats.kernel.instances.MapHash
class MapHash[K, V](implicit V: Hash[V]) extends MapEq[K, V], Hash[Map[K, V]]

Attributes

Source
MapInstances.scala
Graph
Supertypes
trait Hash[Map[K, V]]
class MapEq[K, V]
trait Eq[Map[K, V]]
trait Serializable
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def hash(x: Map[K, V]): Int

Returns the hash code of the given object under this hashing scheme.

Returns the hash code of the given object under this hashing scheme.

Attributes

Source
MapInstances.scala

Inherited methods

def eqv(x: Map[K, V], y: Map[K, V]): Boolean

Returns true if x and y are equivalent, false otherwise.

Returns true if x and y are equivalent, false otherwise.

Attributes

Inherited from:
MapEq
Source
MapInstances.scala
def neqv(x: Map[K, V], y: Map[K, V]): Boolean

Returns false if x and y are equivalent, true otherwise.

Returns false if x and y are equivalent, true otherwise.

Attributes

Inherited from:
Eq
Source
Eq.scala