public class Murmur3 extends Object implements MurmurConstants
LONG_MASK, UINT_MASK, UNSIGNED_MASK| Constructor and Description |
|---|
Murmur3() |
| Modifier and Type | Method and Description |
|---|---|
static long[] |
hash_x64_128(byte[] data,
int length,
long seed)
Compute the Murmur3 hash (128-bit version) as described in the original source code.
|
static long |
hash_x86_32(byte[] data,
int length,
long seed)
Compute the Murmur3 hash as described in the original source code.
|
public static long hash_x86_32(byte[] data,
int length,
long seed)
data - the data that needs to be hashedlength - the length of the data that needs to be hashedseed - the seed to use to compute the hashpublic static long[] hash_x64_128(byte[] data,
int length,
long seed)
data - the data that needs to be hashedlength - the length of the data that needs to be hashedseed - the seed to use to compute the hashCopyright © 2014. All rights reserved.