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