public class StringMurmurHashFunctionFactory extends Object implements HashFunctionFactory<String>
HashFunctionFactory for producing StringMurmurHashFunctions
with randomly assigned seeds.StringMurmurHashFunction.StringMurmurHashFunction(int)| Constructor and Description |
|---|
StringMurmurHashFunctionFactory()
Construct the factory with a newly constructed
MersenneTwister
seeded with the current time. |
StringMurmurHashFunctionFactory(cern.jet.random.engine.MersenneTwister rng)
Construct the factory with the given random generator
|
| Modifier and Type | Method and Description |
|---|---|
StringMurmurHashFunction |
create()
Construct a new
HashFunction. |
public StringMurmurHashFunctionFactory()
MersenneTwister
seeded with the current time.public StringMurmurHashFunctionFactory(cern.jet.random.engine.MersenneTwister rng)
rng - the random generatorpublic StringMurmurHashFunction create()
HashFunctionFactoryHashFunction.create in interface HashFunctionFactory<String>HashFunction