Class DefaultCuratedInteractionBaseComparator
- java.lang.Object
-
- psidev.psi.mi.jami.utils.comparator.interaction.DefaultCuratedInteractionBaseComparator
-
public class DefaultCuratedInteractionBaseComparator extends Object
Default comparator for curated interactions. It will first compare the basic properties of an interaction using DefaultInteractionBaseComparator. Then it will compare the created dates (null created dates always come after) Finally it will compare the updated date (null updated date always come after)- Since:
31/05/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description DefaultCuratedInteractionBaseComparator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
areEquals(Interaction interaction1, Interaction interaction2)
Use DefaultCuratedInteractionBaseComparator to know if two interactions are equals.
-
-
-
Method Detail
-
areEquals
public static boolean areEquals(Interaction interaction1, Interaction interaction2)
Use DefaultCuratedInteractionBaseComparator to know if two interactions are equals.- Parameters:
interaction1
- aInteraction
object.interaction2
- aInteraction
object.- Returns:
- true if the two interactions are equal
-
-