Interface Hash

All Superinterfaces:
Hash
All Known Implementing Classes:
JavaStringHash, Murmur3Hash32

public interface Hash extends Hash
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Generate the hash of a given String.

    Methods inherited from interface org.apache.pulsar.common.util.Hash

    makeHash
  • Method Details

    • makeHash

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