Class DefaultParticipantBaseComparator


  • public class DefaultParticipantBaseComparator
    extends Object
    Default participant comparator It will first compare the interactors and stoichiometry using DefaultEntityBaseComparator it will then compare the biological roles using DefaultCvTermComparator. This comparator will ignore all the other properties of a participant.
    Since:
    16/01/13
    Version:
    $Id$
    Author:
    Marine Dumousseau (marine@ebi.ac.uk)
    • Constructor Detail

      • DefaultParticipantBaseComparator

        public DefaultParticipantBaseComparator()
    • Method Detail

      • areEquals

        public static boolean areEquals​(Participant participant1,
                                        Participant participant2,
                                        boolean ignoreInteractors)
        Use DefaultParticipantBaseComparator 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