org.apache.cocoon.util.murmurhash
Class MurmurHash
java.lang.Object
org.apache.cocoon.util.murmurhash.MurmurHash
public class MurmurHash
- extends Object
This is a very fast, non-cryptographic hash suitable for general hash-based lookup. See
http://murmurhash.googlepages.com/ for more details.
The C version of MurmurHash 2.0 found at that site was ported to Java by Andrzej Bialecki (ab at
getopt org): http://www.getopt.org/murmur/MurmurHash.java
Method Summary |
static int |
hash(byte[] data,
int seed)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MurmurHash
public MurmurHash()
hash
public static int hash(byte[] data,
int seed)
Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.