public class Murmur2HashFunction
extends java.lang.Object
| Constructor and Description |
|---|
Murmur2HashFunction() |
Murmur2HashFunction(boolean normalizeWhitespace) |
Murmur2HashFunction(int seed) |
Murmur2HashFunction(int seed,
boolean normalizeWhitespace) |
| Modifier and Type | Method and Description |
|---|---|
int |
bits() |
HashCode |
hashBytes(byte[] input) |
HashCode |
hashBytes(byte[] input,
int off,
int len) |
HashCode |
hashBytes(java.nio.ByteBuffer input) |
HashCode |
hashInt(int input) |
HashCode |
hashLong(long input) |
<T> HashCode |
hashObject(T instance,
<any> funnel) |
HashCode |
hashString(java.lang.CharSequence input,
java.nio.charset.Charset charset) |
HashCode |
hashUnencodedChars(java.lang.CharSequence input) |
Hasher |
newHasher() |
Hasher |
newHasher(int expectedInputSize) |
public Murmur2HashFunction()
public Murmur2HashFunction(int seed)
public Murmur2HashFunction(boolean normalizeWhitespace)
public Murmur2HashFunction(int seed,
boolean normalizeWhitespace)
public Hasher newHasher()
public Hasher newHasher(int expectedInputSize)
public HashCode hashInt(int input)
public HashCode hashLong(long input)
public HashCode hashBytes(byte[] input)
public HashCode hashBytes(byte[] input,
int off,
int len)
public HashCode hashBytes(java.nio.ByteBuffer input)
public HashCode hashUnencodedChars(java.lang.CharSequence input)
public HashCode hashString(java.lang.CharSequence input,
java.nio.charset.Charset charset)
public <T> HashCode hashObject(T instance,
<any> funnel)
public int bits()