O
- public class ModuloModifier<O> extends HashModifier<O>
hashFunction
Constructor and Description |
---|
ModuloModifier(HashFunction<O> hashFunction,
int range)
Construct with the given hash function and range.
|
Modifier and Type | Method and Description |
---|---|
int |
computeHashCode(O object)
Compute the hash code for the object
|
public ModuloModifier(HashFunction<O> hashFunction, int range)
hashFunction
- the hash functionrange
- the rangepublic int computeHashCode(O object)
HashFunction
object
- the object