object Hashable extends LowPriorityHashable
- Alphabetic
- By Inheritance
- Hashable
- LowPriorityHashable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val CRC32_ITU: Hashable[Array[Byte], Int]
The default memcache hash algorithm is the ITU-T variant of CRC-32.
- val FNV1A_32: Hashable[Array[Byte], Int]
FNV fast hashing algorithm in 32 bits, variant with operations reversed.
FNV fast hashing algorithm in 32 bits, variant with operations reversed.
- See also
https://en.wikipedia.org/wiki/Fowler_Noll_Vo_hash
- val FNV1A_64: Hashable[Array[Byte], Long]
FNV fast hashing algorithm in 64 bits, variant with operations reversed.
FNV fast hashing algorithm in 64 bits, variant with operations reversed.
- See also
https://en.wikipedia.org/wiki/Fowler_Noll_Vo_hash
- val FNV1_32: Hashable[Array[Byte], Int]
FNV fast hashing algorithm in 32 bits.
FNV fast hashing algorithm in 32 bits.
- See also
https://en.wikipedia.org/wiki/Fowler_Noll_Vo_hash
- val FNV1_64: Hashable[Array[Byte], Long]
FNV fast hashing algorithm in 64 bits.
FNV fast hashing algorithm in 64 bits.
- See also
https://en.wikipedia.org/wiki/Fowler_Noll_Vo_hash
- val HSIEH: Hashable[Array[Byte], Int]
Paul Hsieh's hash function.
Paul Hsieh's hash function. https://www.azillionmonkeys.com/qed/hash.html
- val JENKINS: Hashable[Array[Byte], Long]
Jenkins Hash Function https://en.wikipedia.org/wiki/Jenkins_hash_function
- val MD5_LEInt: Hashable[Array[Byte], Int]
Ketama's default hash algorithm: the first 4 bytes of the MD5 as a little-endian int.
- val MURMUR3: Hashable[Array[Byte], Int]
murmur3 hash https://en.wikipedia.org/wiki/MurmurHash
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- implicit def fromString[T](implicit h: Hashable[Array[Byte], T]): Hashable[String, T]
- Definition Classes
- LowPriorityHashable
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hash[T, R](t: T)(implicit hasher: Hashable[T, R]): R
Pull the implicit Hashable instance in scope to compute hash for this type.
Pull the implicit Hashable instance in scope to compute hash for this type.
If in your scope, you set: implicit def hasher[T]: Hashable[T,Int] = Hashable.hashCode // Bad choice, just an example you can just call: hash("hey") : Int to get a hashvalue
- def hashCode[T]: Hashable[T, Int]
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- implicit def toInt[T](implicit h: Hashable[T, Long]): Hashable[T, Int]
- Definition Classes
- LowPriorityHashable
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()