Package gnu.trove

Interface TIntHashingStrategy

    • Method Detail

      • computeHashCode

        int computeHashCode​(int val)
        Computes a hash code for the specified int. Implementors can use the int's own value or a custom scheme designed to minimize collisions for a known set of input.
        Parameters:
        val - int for which the hashcode is to be computed
        Returns:
        the hashCode