Class DefaultExactCuratedInteractionEvidenceComparator


  • public class DefaultExactCuratedInteractionEvidenceComparator
    extends Object
    Default exact curated InteractionEvidenceComparator. It will first compare the basic interaction properties using DefaultCuratedInteractionBaseComparator. It will then compares the IMEx identifiers if both IMEx ids are set. If at least one IMEx id is not set, it will compare the negative properties. A negative interaction will come after a positive interaction. it will compare the experiment using DefaultCuratedExperimentComparator. If the experiments are the same, it will compare the participants using DefaultExactParticipantEvidenceComparator. Then, it will compare the parameters using DefaultParameterComparator. If the parameters are the same, it will first compare the experimental variableParameters using VariableParameterValueSetComparator and then it will compare the inferred boolean value (Inferred interactions will always come after).
    Since:
    31/05/13
    Version:
    $Id$
    Author:
    Marine Dumousseau (marine@ebi.ac.uk)
    • Constructor Detail

      • DefaultExactCuratedInteractionEvidenceComparator

        public DefaultExactCuratedInteractionEvidenceComparator()
    • Method Detail

      • areEquals

        public static boolean areEquals​(InteractionEvidence experimentalInteraction1,
                                        InteractionEvidence experimentalInteraction2)
        Use DefaultExactCuratedInteractionEvidenceComparator to know if two experimental interactions are equals.
        Parameters:
        experimentalInteraction1 - a InteractionEvidence object.
        experimentalInteraction2 - a InteractionEvidence object.
        Returns:
        true if the two experimental interactions are equal