Class DefaultExactParticipantBaseComparator
- java.lang.Object
-
- psidev.psi.mi.jami.utils.comparator.participant.DefaultExactParticipantBaseComparator
-
public class DefaultExactParticipantBaseComparator extends Object
Default exact participant comparator It will first compare the interactors and stoichiometry using DefaultExactEntityComparator. If both interactors are the same, it will compare the biological roles using DefaultCvTermComparator. This comparator will ignore all the other properties of a participant.- Since:
18/01/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description DefaultExactParticipantBaseComparator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
areEquals(Participant participant1, Participant participant2, boolean ignoreInteractors)
Use DefaultExactParticipantBaseComparator to know if two participants are equals.
-
-
-
Method Detail
-
areEquals
public static boolean areEquals(Participant participant1, Participant participant2, boolean ignoreInteractors)
Use DefaultExactParticipantBaseComparator to know if two participants are equals.- Parameters:
participant1
- aParticipant
object.participant2
- aParticipant
object.ignoreInteractors
- a boolean.- Returns:
- true if the two participants are equal
-
-