Class DefaultParticipantBaseComparator
- java.lang.Object
-
- psidev.psi.mi.jami.utils.comparator.participant.DefaultParticipantBaseComparator
-
public class DefaultParticipantBaseComparator extends Object
Default participant comparator It will first compare the interactors and stoichiometry using DefaultEntityBaseComparator it will then compare the biological roles using DefaultCvTermComparator. This comparator will ignore all the other properties of a participant.- Since:
16/01/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description DefaultParticipantBaseComparator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
areEquals(Participant participant1, Participant participant2, boolean ignoreInteractors)
Use DefaultParticipantBaseComparator to know if two participants are equals.
-
-
-
Method Detail
-
areEquals
public static boolean areEquals(Participant participant1, Participant participant2, boolean ignoreInteractors)
Use DefaultParticipantBaseComparator 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
-
-