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