com.carrotsearch.hppc.hash
Class MurmurHash3

java.lang.Object
  extended by com.carrotsearch.hppc.hash.MurmurHash3

public final class MurmurHash3
extends java.lang.Object

Hash routines for primitive types. The implementation is based on the finalization step from Austin Appleby's MurmurHash3.

See Also:
"http://sites.google.com/site/murmurhash/"

Method Summary
static int hash(int k)
          Hashes a 4-byte sequence (Java int).
static long hash(long k)
          Hashes an 8-byte sequence (Java long).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

hash

public static int hash(int k)
Hashes a 4-byte sequence (Java int).


hash

public static long hash(long k)
Hashes an 8-byte sequence (Java long).



Copyright © 2011 Carrot Search s.c.. All Rights Reserved.