EitherHash

class EitherHash[A, B](A: Hash[A], B: Hash[B]) extends EitherEq[A, B] with Hash[Either[A, B]]
trait Hash[Either[A, B]]
class EitherEq[A, B]
trait Eq[Either[A, B]]
trait Serializable
class Object
trait Matchable
class Any

Value members

Concrete methods

def hash(x: Either[A, B]): Int

Inherited methods

def eqv(x: Either[A, B], y: Either[A, B]): Boolean
Inherited from
EitherEq
def neqv(x: Either[A, B], y: Either[A, B]): Boolean

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

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

Inherited from
Eq