Class DefaultParticipantPoolComparator
- java.lang.Object
-
- psidev.psi.mi.jami.utils.comparator.participant.DefaultParticipantPoolComparator
-
public class DefaultParticipantPoolComparator extends Object
Default participant pool comparator It will first compare the interactors, biological role and stoichiometry using DefaultParticipantBaseComparator it will then compare the participant candidates using DefaultEntityBaseComparator. This comparator will ignore all the other properties of a participantPool.- Since:
16/01/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description DefaultParticipantPoolComparator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
areEquals(ParticipantPool participant1, ParticipantPool participant2, boolean ignoreInteractors)
Use DefaultParticipantBaseComparator to know if two participant pools are equals.
-
-
-
Method Detail
-
areEquals
public static boolean areEquals(ParticipantPool participant1, ParticipantPool participant2, boolean ignoreInteractors)
Use DefaultParticipantBaseComparator to know if two participant pools are equals.- Parameters:
participant1
- aParticipantPool
object.participant2
- aParticipantPool
object.ignoreInteractors
- a boolean.- Returns:
- true if the two participant pools are equal
-
-