public class Murmur2HashFunction
extends java.lang.Object
implements com.google.common.hash.HashFunction
| Constructor and Description |
|---|
Murmur2HashFunction() |
Murmur2HashFunction(boolean normalizeWhitespace) |
Murmur2HashFunction(int seed) |
Murmur2HashFunction(int seed,
boolean normalizeWhitespace) |
| Modifier and Type | Method and Description |
|---|---|
int |
bits() |
com.google.common.hash.HashCode |
hashBytes(byte[] input) |
com.google.common.hash.HashCode |
hashBytes(byte[] input,
int off,
int len) |
com.google.common.hash.HashCode |
hashBytes(java.nio.ByteBuffer input) |
com.google.common.hash.HashCode |
hashInt(int input) |
com.google.common.hash.HashCode |
hashLong(long input) |
<T> com.google.common.hash.HashCode |
hashObject(T instance,
com.google.common.hash.Funnel<? super T> funnel) |
com.google.common.hash.HashCode |
hashString(java.lang.CharSequence input,
java.nio.charset.Charset charset) |
com.google.common.hash.HashCode |
hashUnencodedChars(java.lang.CharSequence input) |
com.google.common.hash.Hasher |
newHasher() |
com.google.common.hash.Hasher |
newHasher(int expectedInputSize) |
public Murmur2HashFunction()
public Murmur2HashFunction(int seed)
public Murmur2HashFunction(boolean normalizeWhitespace)
public Murmur2HashFunction(int seed,
boolean normalizeWhitespace)
public com.google.common.hash.Hasher newHasher()
newHasher in interface com.google.common.hash.HashFunctionpublic com.google.common.hash.Hasher newHasher(int expectedInputSize)
newHasher in interface com.google.common.hash.HashFunctionpublic com.google.common.hash.HashCode hashInt(int input)
hashInt in interface com.google.common.hash.HashFunctionpublic com.google.common.hash.HashCode hashLong(long input)
hashLong in interface com.google.common.hash.HashFunctionpublic com.google.common.hash.HashCode hashBytes(byte[] input)
hashBytes in interface com.google.common.hash.HashFunctionpublic com.google.common.hash.HashCode hashBytes(byte[] input,
int off,
int len)
hashBytes in interface com.google.common.hash.HashFunctionpublic com.google.common.hash.HashCode hashBytes(java.nio.ByteBuffer input)
hashBytes in interface com.google.common.hash.HashFunctionpublic com.google.common.hash.HashCode hashUnencodedChars(java.lang.CharSequence input)
hashUnencodedChars in interface com.google.common.hash.HashFunctionpublic com.google.common.hash.HashCode hashString(java.lang.CharSequence input,
java.nio.charset.Charset charset)
hashString in interface com.google.common.hash.HashFunctionpublic <T> com.google.common.hash.HashCode hashObject(T instance,
com.google.common.hash.Funnel<? super T> funnel)
hashObject in interface com.google.common.hash.HashFunctionpublic int bits()
bits in interface com.google.common.hash.HashFunction