Class DefaultCuratedExperimentComparator


  • public class DefaultCuratedExperimentComparator
    extends Object
    Default curated experiment comparator. It will look first at the publications using a DefaultCuratedPublicationComparator. If the publications are the same, it will look at the interaction detection methods using DefaultCvTermComparator. If the interaction detection methods are the same, it will look at the host organisms using DefaultOrganismComparator. If the host organisms are the same, it will look at the variableParameters using DefaultVariableParameterComparator. This comparator will ignore all the other properties of an experiment.
    Since:
    31/05/13
    Version:
    $Id$
    Author:
    Marine Dumousseau (marine@ebi.ac.uk)
    • Constructor Detail

      • DefaultCuratedExperimentComparator

        public DefaultCuratedExperimentComparator()
    • Method Detail

      • areEquals

        public static boolean areEquals​(Experiment experiment1,
                                        Experiment experiment2)
        Use DefaultCuratedExperimentComparator to know if two experiment are equals.
        Parameters:
        experiment1 - a Experiment object.
        experiment2 - a Experiment object.
        Returns:
        true if the two experiment are equal