Class DefaultModelledParticipantComparator
- java.lang.Object
-
- psidev.psi.mi.jami.utils.comparator.participant.DefaultModelledParticipantComparator
-
public class DefaultModelledParticipantComparator extends Object
Default biological participant comparator. It will compare the basic properties of a biological participant using DefaultParticipantBaseComparator. It will compare features using DefaultModelledFeatureComparator. If the participant is a modelledParticipantPool, it will use DefaultModelledParticipantPoolComparator. 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 DefaultModelledParticipantComparator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
areEquals(ModelledParticipant bioParticipant1, ModelledParticipant bioParticipant2, boolean checkComplexesAsInteractors)
It will compare the basic properties of a biological participant using DefaultParticipantBaseComparator.
-
-
-
Method Detail
-
areEquals
public static boolean areEquals(ModelledParticipant bioParticipant1, ModelledParticipant bioParticipant2, boolean checkComplexesAsInteractors)
It will compare the basic properties of a biological participant using DefaultParticipantBaseComparator. It will compare features using DefaultModelledFeatureComparator. If the participant is a modelledParticipantPool, it will use DefaultModelledParticipantPoolComparator. This comparator will ignore all the other properties of a biological participant.- Parameters:
bioParticipant1
- aModelledParticipant
object.bioParticipant2
- aModelledParticipant
object.checkComplexesAsInteractors
- a boolean.- Returns:
- true if the two components are equal
-
-