public final class MurmurHash3
extends java.lang.Object
MurmurHash3. and David
Stafford variant 9 of 64bit mix function (MH3 finalization step, with
different shifts and constants)| Modifier and Type | Field and Description |
|---|---|
static int |
HASH_0
= hash((int)0)
|
static int |
HASH_1
= hash((int)1)
|
| Modifier and Type | Method and Description |
|---|---|
static int |
mix32(int k)
Mix a 4-byte sequence (Java int), MH3's plain finalization step.
|
static long |
mix64(long z)
Mix an 8-byte sequence (Java long): Computes David Stafford variant 9 of
64bit mix function (MH3 finalization step, with different shifts and
constants).
|
public static final int HASH_0
public static final int HASH_1
public static int mix32(int k)
public static long mix64(long z)
Copyright © 2017. All rights reserved.