Class DefaultParticipantEvidenceComparator
- java.lang.Object
-
- psidev.psi.mi.jami.utils.comparator.participant.DefaultParticipantEvidenceComparator
-
public class DefaultParticipantEvidenceComparator extends Object
Default 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:
17/01/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description DefaultParticipantEvidenceComparator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
areEquals(ParticipantEvidence experimentalParticipant1, ParticipantEvidence experimentalParticipant2, boolean ignoreInteractors)
Use DefaultParticipantEvidenceComparator to know if two experimental participants are equals.
-
-
-
Method Detail
-
areEquals
public static boolean areEquals(ParticipantEvidence experimentalParticipant1, ParticipantEvidence experimentalParticipant2, boolean ignoreInteractors)
Use DefaultParticipantEvidenceComparator to know if two experimental participants are equals.- Parameters:
experimentalParticipant1
- aParticipantEvidence
object.experimentalParticipant2
- aParticipantEvidence
object.ignoreInteractors
- a boolean.- Returns:
- true if the two experimental participants are equal
-
-