Class Murmur3_32Hash

  • All Implemented Interfaces:
    Hash

    public class Murmur3_32Hash
    extends java.lang.Object
    implements Hash
    Implementation of the MurmurHash3 non-cryptographic hash function.
    • Method Detail

      • getInstance

        public static Hash getInstance()
      • makeHash

        public int makeHash​(byte[] b)
        Description copied from interface: Hash
        Generate the hash of a given byte array.
        Specified by:
        makeHash in interface Hash
        Returns:
        The hash of b, which is non-negative integer.