Interface Similar<T>

    • Method Detail

      • getSimilarity

        int getSimilarity​(T other)
         x = 0         ⇔ equal
         x < 0         ⇔ not similar
         x > 0         ⇔ similar
         y > 0 & x > y ⇔ x more similar than y
         
        Parameters:
        other - the other object
        Returns:
        the similarity value