Object/Trait

cats.kernel

Eq

Related Docs: trait Eq | package kernel

Permalink

object Eq extends EqFunctions[Eq] with EqToEquivConversion with Serializable

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Eq
  2. Serializable
  3. Serializable
  4. EqToEquivConversion
  5. EqFunctions
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def allEqual[A]: Eq[A]

    Permalink

    Everything is the same

  5. def allEqualBoundedSemilattice[A]: BoundedSemilattice[Eq[A]]

    Permalink

    This is a monoid that creates an Eq that checks that all equality checks pass

  6. def and[A](eq1: Eq[A], eq2: Eq[A]): Eq[A]

    Permalink

    Return an Eq that gives the result of the and of eq1 and eq2 note this is idempotent

  7. def anyEqualSemilattice[A]: Semilattice[Eq[A]]

    Permalink

    This is a monoid that creates an Eq that checks that at least one equality check passes

  8. final def apply[A](implicit ev: Eq[A]): Eq[A]

    Permalink

    Access an implicit Eq[A].

    Access an implicit Eq[A].

    Annotations
    @inline()
  9. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  10. def by[A, B](f: (A) ⇒ B)(implicit ev: Eq[B]): Eq[A]

    Permalink

    Convert an implicit Eq[B] to an Eq[A] using the given function f.

  11. implicit def catsKernelEquivForEq[A](implicit ev: Eq[A]): Equiv[A]

    Permalink

    Implicitly derive a scala.math.Equiv[A] from a Eq[A] instance.

    Implicitly derive a scala.math.Equiv[A] from a Eq[A] instance.

    Definition Classes
    EqToEquivConversion
  12. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  15. def eqv[A](x: A, y: A)(implicit ev: Eq[A]): Boolean

    Permalink
    Definition Classes
    EqFunctions
  16. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def fromUniversalEquals[A]: Eq[A]

    Permalink

    An Eq[A] that delegates to universal equality (==).

    An Eq[A] that delegates to universal equality (==).

    This can be useful for case classes, which have reasonable equals implementations

  18. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  19. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  20. def instance[A](f: (A, A) ⇒ Boolean): Eq[A]

    Permalink

    Create an Eq instance from an eqv implementation.

  21. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  23. def neqv[A](x: A, y: A)(implicit ev: Eq[A]): Boolean

    Permalink
    Definition Classes
    EqFunctions
  24. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. def or[A](eq1: Eq[A], eq2: Eq[A]): Eq[A]

    Permalink

    Return an Eq that gives the result of the or of this and that Note this is idempotent

  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  28. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  29. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from EqToEquivConversion

Inherited from EqFunctions[Eq]

Inherited from AnyRef

Inherited from Any

Ungrouped