| Modifier and Type | Field and Description |
|---|---|
| private static final int |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static int | Returns: the final hash resultthe intermediate hash value hash, int the number of integer values added to the hash numberOfWords)Apply the final computation steps to the intermediate value |
| public static < the array element type T> int | Returns: the hash code of the datathe array data data, int the seed for the MurmurHash algorithm seed)Utility function to compute the hash code of an array using the MurmurHash algorithm. |
| public static int | |
| public static int | Returns: the intermediate hash valuethe seed seed)Initialize the hash using the specified |
| public static int | Returns: the updated intermediate hash valuethe intermediate hash value hash, int the value to add to the current hash value)Update the intermediate hash value for the next input |
| public static int |
| DEFAULT_SEED | back to summary |
|---|---|
| private static final int DEFAULT_SEED | |
| MurmurHash | back to summary |
|---|---|
| private MurmurHash() | |
| finish | back to summary |
|---|---|
| public static int finish(int hash, int numberOfWords) Apply the final computation steps to the intermediate value
| |
| hashCode | back to summary |
|---|---|
| public static <T> int hashCode(T[] data, int seed) Utility function to compute the hash code of an array using the MurmurHash algorithm.
| |
| initialize | back to summary |
|---|---|
| public static int initialize() Initialize the hash using the default seed value.
| |
| initialize | back to summary |
|---|---|
| public static int initialize(int seed) Initialize the hash using the specified
| |
| update | back to summary |
|---|---|
| public static int update(int hash, int value) Update the intermediate hash value for the next input
| |
| update | back to summary |
|---|---|
| public static int update(int hash, Object value) Update the intermediate hash value for the next input
| |