接口 Hash

所有超级接口:
Hash
所有已知实现类:
JavaStringHash, Murmur3Hash32

public interface Hash extends Hash
  • 方法概要

    修饰符和类型
    方法
    说明
    int
    Generate the hash of a given String.

    从接口继承的方法 org.apache.pulsar.common.util.Hash

    makeHash
  • 方法详细资料

    • makeHash

      int makeHash(String s)
      Generate the hash of a given String.
      返回:
      The hash of , which is non-negative integer.