public final class Murmur3Hash128
extends Object
-
Method Summary
hash(long seed,
Slice data,
int offset,
int length)
static long
Special-purpose version for hashing a single long value.
static long
static long
Returns the 64 most significant bits of the Murmur128 hash of the provided value
static long
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
-
hash
public static Slice hash(Slice data,
int offset,
int length)
-
hash
public static Slice hash(long seed,
Slice data,
int offset,
int length)
-
hash64
public static long hash64(Slice data)
Returns the 64 most significant bits of the Murmur128 hash of the provided value
-
hash64
public static long hash64(Slice data,
int offset,
int length)
-
hash64
public static long hash64(long seed,
Slice data,
int offset,
int length)
-
hash64
public static long hash64(long value)
Special-purpose version for hashing a single long value. Value is treated as little-endian