Class DefaultExactParticipantBaseComparator


  • public class DefaultExactParticipantBaseComparator
    extends Object
    Default exact participant comparator It will first compare the interactors and stoichiometry using DefaultExactEntityComparator. If both interactors are the same, it will compare the biological roles using DefaultCvTermComparator. This comparator will ignore all the other properties of a participant.
    Since:
    18/01/13
    Version:
    $Id$
    Author:
    Marine Dumousseau (marine@ebi.ac.uk)
    • Constructor Detail

      • DefaultExactParticipantBaseComparator

        public DefaultExactParticipantBaseComparator()
    • Method Detail

      • areEquals

        public static boolean areEquals​(Participant participant1,
                                        Participant participant2,
                                        boolean ignoreInteractors)
        Use DefaultExactParticipantBaseComparator to know if two participants are equals.
        Parameters:
        participant1 - a Participant object.
        participant2 - a Participant object.
        ignoreInteractors - a boolean.
        Returns:
        true if the two participants are equal