Class DefaultEntityBaseComparator
- java.lang.Object
-
- psidev.psi.mi.jami.utils.comparator.participant.DefaultEntityBaseComparator
-
public class DefaultEntityBaseComparator extends Object
Default entity comparator It will first compare the interactors using DefaultInteractorComparator. If both interactors are the same, it will look at the stoichiometry (participant with lower stoichiometry will come first). This comparator will ignore all the other properties of an entity.- Since:
16/01/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description DefaultEntityBaseComparator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
areEquals(Entity participant1, Entity participant2, boolean ignoreInteractors)
Use DefaultParticipantBaseComparator to know if two participants are equals.
-