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
Uniformityand returnedNormalizingEquality.
- Value parameters:
- uniformity
the
Uniformityto which the returnedNormalizingEqualityshould 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