Package gnu.trove

Interface TDoubleHashingStrategy

    • Method Detail

      • computeHashCode

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