@InterfaceAudience.Private @InterfaceStability.Stable public class MurmurHash extends Hash
The C version of MurmurHash 2.0 found at that site was ported to Java by Andrzej Bialecki (ab at getopt org).
INVALID_HASH, JENKINS_HASH, MURMUR_HASH, MURMUR_HASH3
Constructor and Description |
---|
MurmurHash() |
Modifier and Type | Method and Description |
---|---|
static Hash |
getInstance() |
int |
hash(byte[] data,
int offset,
int length,
int seed)
Calculate a hash using bytes from
offset to offset +
length , and the provided seed value. |
getHashType, getInstance, getInstance, hash, hash, hash, parseHashType
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.