Class ThreadSafeHash

java.lang.Object
io.nosqlbench.virtdata.library.curves4.discrete.common.ThreadSafeHash
All Implemented Interfaces:
LongUnaryOperator

public class ThreadSafeHash extends Object implements 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. It does, however, return the absolute value. This is to make it play nice with users and other libraries.
  • Constructor Details

    • ThreadSafeHash

      public ThreadSafeHash()
  • Method Details