Object/Trait

cats.kernel

Eq

Related Docs: trait Eq | package kernel

Permalink

object Eq extends EqFunctions[Eq] with Serializable

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Eq
  2. Serializable
  3. Serializable
  4. EqFunctions
  5. AnyRef
  6. 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 anyEqualSemilattice[A]: Semilattice[Eq[A]]

    Permalink

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

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

    Permalink

    Access an implicit Eq[A].

    Access an implicit Eq[A].

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

    Permalink
    Definition Classes
    Any
  9. 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.

  10. def clone(): AnyRef

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  13. implicit def equiv[A](implicit ev: Eq[A]): Equiv[A]

    Permalink

    This gives compatibility with scala's Equiv trait

  14. def eqv[A](x: A, y: A)(implicit ev: Eq[A]): Boolean

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. 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

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

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

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

    Permalink

    Create an Eq instance from an eqv implementation.

  20. final def isInstanceOf[T0]: Boolean

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  25. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

Inherited from Serializable

Inherited from Serializable

Inherited from EqFunctions[Eq]

Inherited from AnyRef

Inherited from Any

Ungrouped