Interface Hash

  • All Superinterfaces:
    org.apache.pulsar.common.util.Hash
    All Known Implementing Classes:
    JavaStringHash, Murmur3_32Hash

    public interface Hash
    extends org.apache.pulsar.common.util.Hash
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int makeHash​(java.lang.String s)
      Generate the hash of a given String
      • Methods inherited from interface org.apache.pulsar.common.util.Hash

        makeHash
    • Method Detail

      • makeHash

        int makeHash​(java.lang.String s)
        Generate the hash of a given String
        Returns:
        The hash of {@param s}, which is non-negative integer.