MurmurHash3
instead.@ThreadSafe @Immutable @Deprecated public class MurmurHash2 extends Object implements Hash
MurmurHash2Compat
Modifier and Type | Class and Description |
---|---|
static class |
MurmurHash2.Externalizer
Deprecated.
|
Constructor and Description |
---|
MurmurHash2()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other)
Deprecated.
|
int |
hash(byte[] payload)
Deprecated.
Hashes a byte array efficiently.
|
int |
hash(int hashcode)
Deprecated.
An incremental version of the hash function, that spreads a pre-calculated
hash code, such as one derived from
Object.hashCode() . |
int |
hash(Object o)
Deprecated.
A helper that calculates the hashcode of an object, choosing the optimal
mechanism of hash calculation after considering the type of the object
(byte array, String or Object).
|
int |
hashCode()
Deprecated.
|
String |
toString()
Deprecated.
|
public final int hash(byte[] payload)
Hash
public final int hash(int hashcode)
Hash
Object.hashCode()
.public final int hash(Object o)
Hash
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.