protected abstract class ShortPStableFactory.PStableFunction extends ShortHashFunction
| Modifier and Type | Field and Description |
|---|---|
protected double |
b |
protected double[] |
r |
random| Modifier and Type | Method and Description |
|---|---|
int |
computeHashCode(short[] point)
Compute the hash code for the object
|
int |
computeHashCode(SparseShortArray array)
Compute the hash code for the sparse array.
|
computeHashCode, computeHashCodepublic final int computeHashCode(short[] point)
HashFunctionpoint - the objectpublic int computeHashCode(SparseShortArray array)
ShortHashFunctioncomputeHashCode in class ShortHashFunctionarray - the sparse array