public enum MurmurHash3 extends java.lang.Enum<MurmurHash3>
Modifier and Type | Class and Description |
---|---|
static class |
MurmurHash3.Hash128
A 128-bits hash.
|
Modifier and Type | Method and Description |
---|---|
protected static long |
fmix(long k) |
protected static long |
getblock(byte[] key,
int offset,
int index) |
static MurmurHash3.Hash128 |
hash128(byte[] key,
int offset,
int length,
long seed,
MurmurHash3.Hash128 hash)
Compute the hash of the MurmurHash3_x64_128 hashing function.
|
static MurmurHash3 |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MurmurHash3[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static MurmurHash3[] values()
for (MurmurHash3 c : MurmurHash3.values()) System.out.println(c);
public static MurmurHash3 valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullprotected static long getblock(byte[] key, int offset, int index)
protected static long fmix(long k)
public static MurmurHash3.Hash128 hash128(byte[] key, int offset, int length, long seed, MurmurHash3.Hash128 hash)