Class DefaultExactModelledParticipantComparator
- java.lang.Object
 - 
- psidev.psi.mi.jami.utils.comparator.participant.DefaultExactModelledParticipantComparator
 
 
- 
public class DefaultExactModelledParticipantComparator extends Object
Default exact biological participant comparator. It will compare the basic properties of a biological participant using DefaultExactParticipantBaseComparator. It will compare features using DefaultModelledFeatureComparator. If the participant is a modelledParticipantPool, it will use DefaultExactModelledParticipantPoolComparator. This comparator will ignore all the other properties of a biological participant.- Since:
 13/02/13
- Version:
 - $Id$
 - Author:
 - Marine Dumousseau (marine@ebi.ac.uk)
 
 
- 
- 
Constructor Summary
Constructors Constructor Description DefaultExactModelledParticipantComparator() 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanareEquals(ModelledParticipant bioParticipant1, ModelledParticipant bioParticipant2, boolean checkComplexesAsInteractors)It will compare the basic properties of a biological participant using DefaultExactParticipantBaseComparator. 
 - 
 
- 
- 
Method Detail
- 
areEquals
public static boolean areEquals(ModelledParticipant bioParticipant1, ModelledParticipant bioParticipant2, boolean checkComplexesAsInteractors)
It will compare the basic properties of a biological participant using DefaultExactParticipantBaseComparator. It will compare features using DefaultModelledFeatureComparator. If the participant is a modelledParticipantPool, it will use DefaultExactModelledParticipantPoolComparator. This comparator will ignore all the other properties of a biological participant.- Parameters:
 bioParticipant1- aModelledParticipantobject.bioParticipant2- aModelledParticipantobject.checkComplexesAsInteractors- a boolean.- Returns:
 - true if the two biological participants are equal
 
 
 - 
 
 -