Package gnu.trove

Interface TShortHashingStrategy

    • Method Detail

      • computeHashCode

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