org.scalactic

Constraint

abstract class Constraint[A, B] extends AnyRef

Abstract class used to enforce type constraints for equality checks.

For more information on how this class is used, see the documentation of TripleEqualsSupport.

Annotations
@implicitNotFound( ... )
Source
Constraint.scala
Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Constraint
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Constraint()

Abstract Value Members

  1. abstract def areEqual(a: A, b: B): Boolean

    Indicates whether the objects passed as a and b are equal.

    Indicates whether the objects passed as a and b are equal.

    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)