Package gnu.trove

Interface TByteHashingStrategy

    • Method Detail

      • computeHashCode

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