Class DefaultExactParticipantEvidenceComparator


  • public class DefaultExactParticipantEvidenceComparator
    extends Object
    Default exact Experimental participant comparator. It will first compares experimental roles using DefaultCvTermComparator. If both experimental roles are equals, it will look at the identification methods using DefaultCvTermComparator. If both identification methods are equals, it will look at the experimental preparations using DefaultCvTermComparator. If both experimental preparations are equals, it will look at the expressed in organisms using DefaultOrganismComparator.
    Since:
    18/01/13
    Version:
    $Id$
    Author:
    Marine Dumousseau (marine@ebi.ac.uk)
    • Constructor Detail

      • DefaultExactParticipantEvidenceComparator

        public DefaultExactParticipantEvidenceComparator()
    • Method Detail

      • areEquals

        public static boolean areEquals​(ParticipantEvidence experimentalParticipant1,
                                        ParticipantEvidence experimentalParticipant2,
                                        boolean ignoreInteractors)
        Use DefaultExactParticipantEvidenceComparator to know if two experimental participants are equals.
        Parameters:
        experimentalParticipant1 - a ParticipantEvidence object.
        experimentalParticipant2 - a ParticipantEvidence object.
        ignoreInteractors - a boolean.
        Returns:
        true if the two experimental participants are equal