Interface ConsistentHash

    • Method Detail

      • getNormalizedHash

        int getNormalizedHash​(Object object)
        Computes hash code of a given object, and then normalizes it to ensure a positive value is always returned.
        Parameters:
        object - to hash
        Returns:
        a non-null, non-negative normalized hash code for a given object