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