basis.util

MurmurHash3

object MurmurHash3

Implements Austin Appleby's MurmurHash 3 algorithm, specifically MurmurHash3_x86_32 revision 136.

Source
MurmurHash3.scala
Example:
  1. import MurmurHash3._
    mash(mix(mix(mix(seed[Example], hash(x)), hash(y)), hash(z)))
Version

0.1

Since

0.0

See also

http://code.google.com/p/smhasher/

Linear Supertypes
AnyRef, Any
Ordering
  1. Grouped
  2. Alphabetic
  3. By inheritance
Inherited
  1. MurmurHash3
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

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. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def clone(): AnyRef

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

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

    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  10. def hash(x: Any): Int

    Returns the hash of any value.

  11. def hash(x: String): Int

    Returns the hash of a String.

  12. def hash(x: Unit): Int

    Returns the hash of ().

  13. def hash(x: Boolean): Int

    Returns the hash of a Boolean value.

  14. def hash(x: Char): Int

    Returns the hash of a Char value.

  15. def hash(x: Double): Int

    Returns the hash of a Double value.

  16. def hash(x: Float): Int

    Returns the hash of a Float value.

  17. def hash(x: Long): Int

    Returns the hash of a Long value.

  18. def hash(x: Int): Int

    Returns the hash of an Int value.

  19. def hash(x: Short): Int

    Returns the hash of a Short value.

  20. def hash(x: Byte): Int

    Returns the hash of a Byte value.

  21. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  22. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  23. def mash(code: Int): Int

    Returns the finalized hash code.

  24. def mix(code: Int, value: Int): Int

    Returns the hash code mixed with a new hash value.

  25. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  26. final def notify(): Unit

    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  28. macro def seed(string: String): Int

    Returns the literal hash of a compile-time constant String, for use as a seed value.

  29. macro def seed[T]: Int

    Returns the literal hash of a type symbol's full name, for use as a seed value.

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

    Definition Classes
    AnyRef
  31. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Mixing

Hashing

Seeding

Ungrouped