Class DefaultExactCausalRelationshipComparator
- java.lang.Object
-
- psidev.psi.mi.jami.utils.comparator.participant.DefaultExactCausalRelationshipComparator
-
public class DefaultExactCausalRelationshipComparator extends Object
Default exact comparator for CausalRelationship It will first compare the relationType using DefaultCvTermComparator. If both relationTypes are identical, it will compare the target using DefaultExactEntityComparator- Since:
22/05/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description DefaultExactCausalRelationshipComparator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
areEquals(CausalRelationship rel1, CausalRelationship rel2)
Use DefaultExactCausalRelationshipComparator to know if two causalRelationShip are equals.
-
-
-
Method Detail
-
areEquals
public static boolean areEquals(CausalRelationship rel1, CausalRelationship rel2)
Use DefaultExactCausalRelationshipComparator to know if two causalRelationShip are equals.- Parameters:
rel1
- aCausalRelationship
object.rel2
- aCausalRelationship
object.- Returns:
- true if the two causalRelationShip are equal
-
-