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
Constructor and Description |
---|
MurmurHash() |
Modifier and Type | Method and Description |
---|---|
static Hash |
getInstance() |
int |
hash(byte[] data,
int length,
int seed)
Calculate a hash using bytes from 0 to
length , and
the provided seed value |
getHashType, getInstance, getInstance, hash, hash, parseHashType
Copyright © 2010 The Apache Software Foundation