Class UnambiguousInteractionBaseComparator

  • All Implemented Interfaces:
    Comparator<Interaction>

    public class UnambiguousInteractionBaseComparator
    extends InteractionBaseComparator
    Unambiguous Interaction comparator. It will first compare the interaction types using UnambiguousCvTermComparator. Then it will compare the rigids (case sensitive, null rigids always come after). Then it will compare the identifiers using UnambiguousExternalIdentifierComparator. If the interactions do not have any identifiers, it will compare the shortnames (case sensitive, shortname null comes always after)
    Since:
    18/01/13
    Version:
    $Id$
    Author:
    Marine Dumousseau (marine@ebi.ac.uk)