Class MurmurHash3
- java.lang.Object
-
- com.carrotsearch.randomizedtesting.MurmurHash3
-
final class MurmurHash3 extends java.lang.Object
Hash routines for primitive types. The implementation is based on the finalization step from Austin Appleby'sMurmurHash3
.- See Also:
- "http://sites.google.com/site/murmurhash/"
-
-
Constructor Summary
Constructors Modifier Constructor Description private
MurmurHash3()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int
hash(int k)
Hashes a 4-byte sequence (Java int).static long
hash(long k)
Hashes an 8-byte sequence (Java long).
-