Interface MIComparator<T>

  • All Superinterfaces:
    Comparator<T>
    All Known Implementing Classes:
    IdentityHashComparator

    public interface MIComparator<T>
    extends Comparator<T>
    A MI comparator is a comparator that can also generate a hashCode of a JAMI object that would be consistent with the comparison results
    Since:
    22/08/14
    Version:
    $Id$
    Author:
    Marine Dumousseau (marine@ebi.ac.uk)
    • Method Detail

      • computeHashCode

        int computeHashCode​(T object)

        computeHashCode

        Parameters:
        object - a T object.
        Returns:
        a int.