接口 Hash

所有已知实现类:
Murmur3_32Hash

public interface Hash
This interface declares a hash function.
  • 方法概要

    修饰符和类型
    方法
    说明
    int
    makeHash(byte[] b)
    Generate the hash of a given byte array.
  • 方法详细资料

    • makeHash

      int makeHash(byte[] b)
      Generate the hash of a given byte array.
      返回:
      The hash of b, which is non-negative integer.