protected abstract class IntPStableFactory.PStableFunction extends IntHashFunction
Modifier and Type | Field and Description |
---|---|
protected double |
b |
protected double[] |
r |
random
Modifier and Type | Method and Description |
---|---|
int |
computeHashCode(int[] point)
Compute the hash code for the object
|
int |
computeHashCode(SparseIntArray array)
Compute the hash code for the sparse array.
|
computeHashCode, computeHashCode
public final int computeHashCode(int[] point)
HashFunction
point
- the objectpublic int computeHashCode(SparseIntArray array)
IntHashFunction
computeHashCode
in class IntHashFunction
array
- the sparse array