Class FullHash

  • All Implemented Interfaces:
    java.util.function.LongUnaryOperator

    public class FullHash
    extends java.lang.Object
    implements java.util.function.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. This version returns the value regardless of this sign bit. It does not return the absolute value, as Hash does.
    • Constructor Summary

      Constructors 
      Constructor Description
      FullHash()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long applyAsLong​(long value)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.function.LongUnaryOperator

        andThen, compose
    • Constructor Detail

      • FullHash

        public FullHash()
    • Method Detail

      • applyAsLong

        public long applyAsLong​(long value)
        Specified by:
        applyAsLong in interface java.util.function.LongUnaryOperator