public class MurmurHash2
extends java.lang.Object
The older MurmurHash2 yields a 32-bit or 64-bit value.
This class is adapted from Apache Cassandra.
MurmurHash3| Constructor and Description |
|---|
MurmurHash2() |
| Modifier and Type | Method and Description |
|---|---|
static int |
hash32(java.nio.ByteBuffer data,
int offset,
int length,
int seed)
32-bit MurmurHash.
|
static long |
hash64(java.nio.ByteBuffer key,
int offset,
int length,
long seed)
64-bit MurmurHash.
|