final class EqualityConstraint[A, B] extends CanEqual[A, B]
An implementation of Constraint
for two types A
and B
that requires an Equality[A]
to
which its areEqual
method can delegate an equality comparison.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- EqualityConstraint
- CanEqual
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
Value Members
- def areEqual(a: A, b: B): Boolean
Indicates whether the objects passed as
a
andb
are equal by returning the result of invokingareEqual(a, b)
on the passedequalityOfA
object.Indicates whether the objects passed as
a
andb
are equal by returning the result of invokingareEqual(a, b)
on the passedequalityOfA
object.- a
a left-hand-side object being compared with another (right-hand-side one) for equality (e.g.,
a == b
)- b
a right-hand-side object being compared with another (left-hand-side one) for equality (e.g.,
a == b
)
- Definition Classes
- EqualityConstraint → CanEqual