Packages

object Hash

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

Value Members

  1. implicit def ChunkHash[A](implicit arg0: Hash[A]): Hash[Chunk[A]]

    Derives a Hash[Chunk[A]] given a Hash[A].

  2. implicit def DeriveHash[F[_], A](implicit derive: Derive[F, Hash], hash: Hash[A]): Hash[F[A]]

    Derives a Hash[F[A]] given a Derive[F, Hash] and a Hash[A].

  3. implicit def EitherHash[A, B](implicit arg0: Hash[A], arg1: Hash[B]): Hash[Either[A, B]]

    Derives a Hash[Either[A, B]] given a Hash[A] and a Hash[B].

  4. implicit val HashContravariant: Contravariant[Hash]

    The contravariant instance for Hash.

  5. implicit def ListHash[A](implicit arg0: Hash[A]): Hash[List[A]]

    Derives a Hash[List[A]] given a Hash[A].

  6. implicit def MapHash[A, B](implicit arg0: Hash[B]): Hash[Map[A, B]]

    Derives a Hash[Map[A, B]] given a Hash[B].

    Derives a Hash[Map[A, B]] given a Hash[B]. Due to the limitations of Scala's Map, this uses object equality and hash code on the keys.

  7. implicit def NonEmptyChunkHash[A](implicit arg0: Hash[A]): Hash[NonEmptyChunk[A]]

    Derives a Hash[NonEmptyChunk[A]] given a Hash[A].

  8. implicit def OptionHash[A](implicit arg0: Hash[A]): Hash[Option[A]]

    Derives a Hash[Option[A]] given a Hash[A].

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  22. implicit def Tuple2Hash[A, B](implicit arg0: Hash[A], arg1: Hash[B]): Hash[(A, B)]

    Derives a Hash for a product type given a Hash for each element of the product type.

  23. implicit def Tuple3Hash[A, B, C](implicit arg0: Hash[A], arg1: Hash[B], arg2: Hash[C]): Hash[(A, B, C)]

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

  24. implicit def Tuple4Hash[A, B, C, D](implicit arg0: Hash[A], arg1: Hash[B], arg2: Hash[C], arg3: Hash[D]): Hash[(A, B, C, D)]

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

  25. implicit def Tuple5Hash[A, B, C, D, E](implicit arg0: Hash[A], arg1: Hash[B], arg2: Hash[C], arg3: Hash[D], arg4: Hash[E]): Hash[(A, B, C, D, E)]

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

  26. implicit def Tuple6Hash[A, B, C, D, E, F](implicit arg0: Hash[A], arg1: Hash[B], arg2: Hash[C], arg3: Hash[D], arg4: Hash[E], arg5: Hash[F]): Hash[(A, B, C, D, E, F)]

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

  27. implicit def Tuple7Hash[A, B, C, D, E, F, G](implicit arg0: Hash[A], arg1: Hash[B], arg2: Hash[C], arg3: Hash[D], arg4: Hash[E], arg5: Hash[F], arg6: Hash[G]): Hash[(A, B, C, D, E, F, G)]

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

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

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

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

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

  30. implicit def VectorHash[A](implicit arg0: Hash[A]): Hash[Vector[A]]

    Derives a Hash[Vector[A]] given a Hash[A].

  31. def apply[A](implicit hash: Hash[A]): Hash[A]

    Summons an implicit Hash[A].

  32. def default[A]: Hash[A]

    Constructs a Hash[A] that uses the default notion of hashing embodied in the implementation of hashCode for values of type A.

  33. def make[A](hash0: (A) => Int, equal0: (A, A) => Boolean): Hash[A]

    Constructs an instance from a function.

  34. def makeFrom[A](hash0: (A) => Int, equal0: Equal[A]): Hash[A]

    Constructs an instance from a hash function and an Equal instance.