Class SignedHash
java.lang.Object
io.nosqlbench.virtdata.library.basics.shared.from_long.to_long.SignedHash
- All Implemented Interfaces:
LongUnaryOperator
This uses the Murmur3F (64-bit optimized) version of Murmur3,
not as a checksum, but as a simple hash. It doesn't bother
pushing the high-64 bits of input, since it only uses the lower
64 bits of output.
Unlike the other hash functions, this one may return positive
as well as negative values.
-
Constructor Details
-
SignedHash
public SignedHash()
-
-
Method Details
-
applyAsLong
public long applyAsLong(long value) - Specified by:
applyAsLongin interfaceLongUnaryOperator
-