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