Packages

object Equal

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Equal
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val AnyHashOrd: Hash[Any] with Ord[Any]

    Ord (and thus also Equal) instance for Any values.

    Ord (and thus also Equal) instance for Any values. Note that since values of type Any contain no information, all values of type Any can be treated as equal to each other.

  5. implicit val BigDecimalHashOrd: Hash[BigDecimal] with Ord[BigDecimal]

    The Hash and Ord instance for BigDecimal.

  6. implicit val BigIntHashOrd: Hash[BigInt] with Ord[BigInt]

    The Hash and Ord instance for BigInt.

  7. implicit val BooleanHashOrd: Hash[Boolean] with Ord[Boolean]

    Hash and Ord (and thus also Equal) instance for Boolean values.

  8. implicit val ByteHashOrd: Hash[Byte] with Ord[Byte]

    Hash and Ord (and thus also Equal) instance for Byte values.

  9. implicit def CauseHash[A]: Hash[Cause[A]]

    Hash (and thus also Equal) instance for Cause[A].

    Hash (and thus also Equal) instance for Cause[A]. Note, that it doesn't take Hash[A] nor Equal[A] into account.

  10. implicit val CharHashOrd: Hash[Char] with Ord[Char]

    Hash and Ord (and thus also Equal) instance for Char values.

  11. implicit def ChunkEqual[A](implicit arg0: Equal[A]): Equal[Chunk[A]]

    Derives an Equal[Chunk[A]] given an Equal[A].

  12. implicit val ClassHash: Hash[Class[_]]

    Hash (and thus also Equal) instance for Class values.

  13. implicit def DeriveEqual[F[_], A](implicit arg0: DeriveEqual[F], arg1: Equal[A]): Equal[F[A]]

    Derives an Equal[F[A]] given a Derive[F, Equal] and an Equal[A].

  14. def DoubleEqualWithEpsilon(epsilon: Double = 1 / (1024d * 1024 * 1024 * 1024)): Equal[Double]

    Equal instance for Double for imprecise equality with configurable tolerance.

  15. implicit val DoubleHashOrd: Hash[Double] with Ord[Double]

    Hash and Ord (and thus also Equal) instance for Double values.

    Hash and Ord (and thus also Equal) instance for Double values.

    Note that to honor the contract

    * that a value is always equal to itself, comparing Double.NaN with itself will return true.

    * of a total ordering, Double.NaN will be treated as greater than any other number.

  16. implicit val DurationScalaHashOrd: Hash[Duration] with Ord[Duration]

    Hash and Ord (and thus also Equal) instance for Scala Duration values.

  17. implicit val DurationZIOHashOrd: Hash[Duration] with Ord[Duration]

    Hash and Ord (and thus also Equal) instance for ZIO Duration values.

  18. implicit def EitherEqual[A, B](implicit arg0: Equal[A], arg1: Equal[B]): Equal[Either[A, B]]

    Derives an Equal[Either[A, B]] given an Equal[A] and an Equal[B].

  19. implicit val EqualCommutativeIdentityBoth: CommutativeBoth[Equal] with IdentityBoth[Equal]

    The CommutativeBoth and IdentityBoth (and thus AssociativeBoth) instance for Equal.

  20. implicit val EqualCommutativeIdentityEither: CommutativeEither[Equal] with IdentityEither[Equal]

    The CommutativeEither and IdentityEither (and thus AssociativeEither) instance for Equal.

  21. implicit val EqualContravariant: Contravariant[Equal]

    The Contravariant instance for Equal.

  22. implicit def ExitEqual[E, A](implicit arg0: Equal[E], arg1: Equal[A]): Equal[Exit[E, A]]

    Derives an Equal[Exit[E, A]] given an Equal[A] and Equal[B].

  23. implicit lazy val FiberIdHashOrd: Hash[Fiber.Id] with Ord[Fiber.Id]

    Hash and Ord and (and thus also Equal) instance for Fiber.Id values.

  24. def FloatEqualWithEpsilon(epsilon: Float = 1 / (1024f * 1024)): Equal[Float]

    Equal instance for Float for imprecise equality with configurable tolerance.

  25. implicit val FloatHashOrd: Hash[Float] with Ord[Float]

    Hash and Ord (and thus also Equal) instance for Float values.

    Hash and Ord (and thus also Equal) instance for Float values.

    Note that to honor the contract

    * that a value is always equal to itself, comparing Float.NaN with itself will return true.

    * of a total ordering, Float.NaN will be treated as greater than any other number.

  26. implicit val IntHashOrd: Hash[Int] with Ord[Int]

    Hash and Ord (and thus also Equal) instance for Int values.

  27. implicit def ListEqual[A](implicit arg0: Equal[A]): Equal[List[A]]

    Derives an Equal[List[A]] given an Equal[A].

  28. implicit val LongHashOrd: Hash[Long] with Ord[Long]

    Hash and Ord (and thus also Equal) instance for Long values.

  29. implicit def MapPartialOrd[A, B](implicit arg0: Equal[B]): PartialOrd[Map[A, B]]

    Derives a PartialOrd[Map[A, B]] (and thus Equal[Map[A, B]]) given an Equal[B].

    Derives a PartialOrd[Map[A, B]] (and thus Equal[Map[A, B]]) given an Equal[B]. Due to the limitations of Scala's Map, this uses object equality on the keys.

  30. implicit def NonEmptyChunkEqual[A](implicit arg0: Equal[A]): Equal[NonEmptyChunk[A]]

    Derives an Equal[NonEmptyChunk[A]] given an Equal[A].

  31. implicit val NothingHashOrd: Hash[Nothing] with Ord[Nothing]

    Hash and Ord (and thus also Equal) instance for Nothing values.

    Hash and Ord (and thus also Equal) instance for Nothing values. Note that since there are not values of type Nothing the equals method of this instance can never be called but it can be useful in deriving instances for more complex types.

  32. implicit def OptionEqual[A](implicit arg0: Equal[A]): Equal[Option[A]]

    Derives an Equal[Option[A]] given an Equal[A].

  33. implicit def SetHashPartialOrd[A]: Hash[Set[A]] with PartialOrd[Set[A]]

    PartialOrd and Hash (and thus also Equal) instance for Set[A] values.

    PartialOrd and Hash (and thus also Equal) instance for Set[A] values. Due to the limitations of Scala's Set, this uses object equality and hash code on the elements.

  34. implicit val ShortHashOrd: Hash[Short] with Ord[Short]

    Hash and Ord (and thus also Equal) instance for Short values.

  35. implicit val StringHashOrd: Hash[String] with Ord[String]

    Hash and Ord (and thus also Equal) instance for String values.

  36. lazy val ThrowableHash: Hash[Throwable]

    Hash (and thus also Equal) instance for Throwable values.

    Hash (and thus also Equal) instance for Throwable values. Comparison is based on: Class, message and cause (stack trace is ignored).

    Note: This is intentionally not in the implicit scope, because it would allow comparing _all_ Throwables across hierarchies defined by users, which would typically be a mistake.

  37. implicit def TryEqual[A](implicit arg0: Equal[A]): Equal[Try[A]]

    Derives an Equal[Try[A]] given an Equal[A].

  38. implicit def Tuple10Equal[A, B, C, D, E, F, G, H, I, J](implicit arg0: Equal[A], arg1: Equal[B], arg2: Equal[C], arg3: Equal[D], arg4: Equal[E], arg5: Equal[F], arg6: Equal[G], arg7: Equal[H], arg8: Equal[I], arg9: Equal[J]): Equal[(A, B, C, D, E, F, G, H, I, J)]

    Derives an Equal for a product type given an Equal for each element of the product type.

  39. implicit def Tuple11Equal[A, B, C, D, E, F, G, H, I, J, K](implicit arg0: Equal[A], arg1: Equal[B], arg2: Equal[C], arg3: Equal[D], arg4: Equal[E], arg5: Equal[F], arg6: Equal[G], arg7: Equal[H], arg8: Equal[I], arg9: Equal[J], arg10: Equal[K]): Equal[(A, B, C, D, E, F, G, H, I, J, K)]

    Derives an Equal for a product type given an Equal for each element of the product type.

  40. implicit def Tuple12Equal[A, B, C, D, E, F, G, H, I, J, K, L](implicit arg0: Equal[A], arg1: Equal[B], arg2: Equal[C], arg3: Equal[D], arg4: Equal[E], arg5: Equal[F], arg6: Equal[G], arg7: Equal[H], arg8: Equal[I], arg9: Equal[J], arg10: Equal[K], arg11: Equal[L]): Equal[(A, B, C, D, E, F, G, H, I, J, K, L)]

    Derives an Equal for a product type given an Equal for each element of the product type.

  41. implicit def Tuple13Equal[A, B, C, D, E, F, G, H, I, J, K, L, M](implicit arg0: Equal[A], arg1: Equal[B], arg2: Equal[C], arg3: Equal[D], arg4: Equal[E], arg5: Equal[F], arg6: Equal[G], arg7: Equal[H], arg8: Equal[I], arg9: Equal[J], arg10: Equal[K], arg11: Equal[L], arg12: Equal[M]): Equal[(A, B, C, D, E, F, G, H, I, J, K, L, M)]

    Derives an Equal for a product type given an Equal for each element of the product type.

  42. implicit def Tuple14Equal[A, B, C, D, E, F, G, H, I, J, K, L, M, N](implicit arg0: Equal[A], arg1: Equal[B], arg2: Equal[C], arg3: Equal[D], arg4: Equal[E], arg5: Equal[F], arg6: Equal[G], arg7: Equal[H], arg8: Equal[I], arg9: Equal[J], arg10: Equal[K], arg11: Equal[L], arg12: Equal[M], arg13: Equal[N]): Equal[(A, B, C, D, E, F, G, H, I, J, K, L, M, N)]

    Derives an Equal for a product type given an Equal for each element of the product type.

  43. implicit def Tuple15Equal[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O](implicit arg0: Equal[A], arg1: Equal[B], arg2: Equal[C], arg3: Equal[D], arg4: Equal[E], arg5: Equal[F], arg6: Equal[G], arg7: Equal[H], arg8: Equal[I], arg9: Equal[J], arg10: Equal[K], arg11: Equal[L], arg12: Equal[M], arg13: Equal[N], arg14: Equal[O]): Equal[(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O)]

    Derives an Equal for a product type given an Equal for each element of the product type.

  44. implicit def Tuple16Equal[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P](implicit arg0: Equal[A], arg1: Equal[B], arg2: Equal[C], arg3: Equal[D], arg4: Equal[E], arg5: Equal[F], arg6: Equal[G], arg7: Equal[H], arg8: Equal[I], arg9: Equal[J], arg10: Equal[K], arg11: Equal[L], arg12: Equal[M], arg13: Equal[N], arg14: Equal[O], arg15: Equal[P]): Equal[(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P)]

    Derives an Equal for a product type given an Equal for each element of the product type.

  45. implicit def Tuple17Equal[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q](implicit arg0: Equal[A], arg1: Equal[B], arg2: Equal[C], arg3: Equal[D], arg4: Equal[E], arg5: Equal[F], arg6: Equal[G], arg7: Equal[H], arg8: Equal[I], arg9: Equal[J], arg10: Equal[K], arg11: Equal[L], arg12: Equal[M], arg13: Equal[N], arg14: Equal[O], arg15: Equal[P], arg16: Equal[Q]): Equal[(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q)]

    Derives an Equal for a product type given an Equal for each element of the product type.

  46. implicit def Tuple18Equal[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R](implicit arg0: Equal[A], arg1: Equal[B], arg2: Equal[C], arg3: Equal[D], arg4: Equal[E], arg5: Equal[F], arg6: Equal[G], arg7: Equal[H], arg8: Equal[I], arg9: Equal[J], arg10: Equal[K], arg11: Equal[L], arg12: Equal[M], arg13: Equal[N], arg14: Equal[O], arg15: Equal[P], arg16: Equal[Q], arg17: Equal[R]): Equal[(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R)]

    Derives an Equal for a product type given an Equal for each element of the product type.

  47. implicit def Tuple19Equal[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S](implicit arg0: Equal[A], arg1: Equal[B], arg2: Equal[C], arg3: Equal[D], arg4: Equal[E], arg5: Equal[F], arg6: Equal[G], arg7: Equal[H], arg8: Equal[I], arg9: Equal[J], arg10: Equal[K], arg11: Equal[L], arg12: Equal[M], arg13: Equal[N], arg14: Equal[O], arg15: Equal[P], arg16: Equal[Q], arg17: Equal[R], arg18: Equal[S]): Equal[(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S)]

    Derives an Equal for a product type given an Equal for each element of the product type.

  48. implicit def Tuple20Equal[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T](implicit arg0: Equal[A], arg1: Equal[B], arg2: Equal[C], arg3: Equal[D], arg4: Equal[E], arg5: Equal[F], arg6: Equal[G], arg7: Equal[H], arg8: Equal[I], arg9: Equal[J], arg10: Equal[K], arg11: Equal[L], arg12: Equal[M], arg13: Equal[N], arg14: Equal[O], arg15: Equal[P], arg16: Equal[Q], arg17: Equal[R], arg18: Equal[S], arg19: Equal[T]): Equal[(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T)]

    Derives an Equal for a product type given an Equal for each element of the product type.

  49. implicit def Tuple21Equal[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U](implicit arg0: Equal[A], arg1: Equal[B], arg2: Equal[C], arg3: Equal[D], arg4: Equal[E], arg5: Equal[F], arg6: Equal[G], arg7: Equal[H], arg8: Equal[I], arg9: Equal[J], arg10: Equal[K], arg11: Equal[L], arg12: Equal[M], arg13: Equal[N], arg14: Equal[O], arg15: Equal[P], arg16: Equal[Q], arg17: Equal[R], arg18: Equal[S], arg19: Equal[T], arg20: Equal[U]): Equal[(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U)]

    Derives an Equal for a product type given an Equal for each element of the product type.

  50. implicit def Tuple22Equal[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V](implicit arg0: Equal[A], arg1: Equal[B], arg2: Equal[C], arg3: Equal[D], arg4: Equal[E], arg5: Equal[F], arg6: Equal[G], arg7: Equal[H], arg8: Equal[I], arg9: Equal[J], arg10: Equal[K], arg11: Equal[L], arg12: Equal[M], arg13: Equal[N], arg14: Equal[O], arg15: Equal[P], arg16: Equal[Q], arg17: Equal[R], arg18: Equal[S], arg19: Equal[T], arg20: Equal[U], arg21: Equal[V]): Equal[(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V)]

    Derives an Equal for a product type given an Equal for each element of the product type.

  51. implicit def Tuple2Equal[A, B](implicit arg0: Equal[A], arg1: Equal[B]): Equal[(A, B)]

    Derives an Equal for a product type given an Equal for each element of the product type.

  52. implicit def Tuple3Equal[A, B, C](implicit arg0: Equal[A], arg1: Equal[B], arg2: Equal[C]): Equal[(A, B, C)]

    Derives an Equal for a product type given an Equal for each element of the product type.

  53. implicit def Tuple4Equal[A, B, C, D](implicit arg0: Equal[A], arg1: Equal[B], arg2: Equal[C], arg3: Equal[D]): Equal[(A, B, C, D)]

    Derives an Equal for a product type given an Equal for each element of the product type.

  54. implicit def Tuple5Equal[A, B, C, D, E](implicit arg0: Equal[A], arg1: Equal[B], arg2: Equal[C], arg3: Equal[D], arg4: Equal[E]): Equal[(A, B, C, D, E)]

    Derives an Equal for a product type given an Equal for each element of the product type.

  55. implicit def Tuple6Equal[A, B, C, D, E, F](implicit arg0: Equal[A], arg1: Equal[B], arg2: Equal[C], arg3: Equal[D], arg4: Equal[E], arg5: Equal[F]): Equal[(A, B, C, D, E, F)]

    Derives an Equal for a product type given an Equal for each element of the product type.

  56. implicit def Tuple7Equal[A, B, C, D, E, F, G](implicit arg0: Equal[A], arg1: Equal[B], arg2: Equal[C], arg3: Equal[D], arg4: Equal[E], arg5: Equal[F], arg6: Equal[G]): Equal[(A, B, C, D, E, F, G)]

    Derives an Equal for a product type given an Equal for each element of the product type.

  57. implicit def Tuple8Equal[A, B, C, D, E, F, G, H](implicit arg0: Equal[A], arg1: Equal[B], arg2: Equal[C], arg3: Equal[D], arg4: Equal[E], arg5: Equal[F], arg6: Equal[G], arg7: Equal[H]): Equal[(A, B, C, D, E, F, G, H)]

    Derives an Equal for a product type given an Equal for each element of the product type.

  58. implicit def Tuple9Equal[A, B, C, D, E, F, G, H, I](implicit arg0: Equal[A], arg1: Equal[B], arg2: Equal[C], arg3: Equal[D], arg4: Equal[E], arg5: Equal[F], arg6: Equal[G], arg7: Equal[H], arg8: Equal[I]): Equal[(A, B, C, D, E, F, G, H, I)]

    Derives an Equal for a product type given an Equal for each element of the product type.

  59. implicit val UnitHashOrd: Hash[Unit] with Ord[Unit]

    Hash and Ord (and thus also Equal) instance for Unit values.

    Hash and Ord (and thus also Equal) instance for Unit values. Since there is only one Unit value all equality comparisons will always be true.

  60. implicit def VectorEqual[A](implicit arg0: Equal[A]): Equal[Vector[A]]

    Derives an Equal[Vector[A]] given an Equal[A].

  61. implicit val ZTraceHash: Hash[ZTrace]

    Hash (and thus also Equal) instance for ZTrace values.

  62. def apply[A](implicit equal: Equal[A]): Equal[A]

    Summons an implicit Equal[A].

  63. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  64. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  65. def default[A]: Equal[A]

    Constructs an Equal[A] that uses the default notion of equality embodied in the implementation of equals for values of type A.

  66. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  67. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  68. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  69. def fromScala[A](implicit equiv: Equiv[A]): Equal[A]
  70. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  71. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  72. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  73. def make[A](equal: (A, A) => Boolean): Equal[A]

    Constructs an Equal[A] from a function.

    Constructs an Equal[A] from a function. The instance will be optimized to first compare the values for reference equality and then compare the values for value equality.

  74. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  75. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  76. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  77. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  78. def toString(): String
    Definition Classes
    AnyRef → Any
  79. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  80. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  81. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped