Companion object for trait Equality
that provides factory methods for producing Equality
instances.
- Companion:
- class
- Source:
- Equality.scala
Value members
Concrete methods
Produces a NormalizingEquality[A]
whose normalized
,
normalizedCanHandle
, and normalizedOrSame
methods delegate
to the passed Uniformity[A]
.
Produces a NormalizingEquality[A]
whose normalized
,
normalizedCanHandle
, and normalizedOrSame
methods delegate
to the passed Uniformity[A]
.
- Type parameters:
- A
the type of passed
Uniformity
and returnedNormalizingEquality
.
- Value parameters:
- uniformity
the
Uniformity
to which the returnedNormalizingEquality
should delegate.
- Source:
- Equality.scala
Implicits
Implicits
Provides default Equality
implementations for the specified type whose
areEqual
method first calls .deep
on any Array
(on either the left or right side),
then compares the resulting objects with ==
.
Provides default Equality
implementations for the specified type whose
areEqual
method first calls .deep
on any Array
(on either the left or right side),
then compares the resulting objects with ==
.
- Returns:
a default
Equivalence[A]
- Source:
- Equality.scala