Class DefaultExperimentComparator


  • public class DefaultExperimentComparator
    extends Object
    Default experiment comparator. It will look first at the publications using a DefaultPublicationComparator. 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:
    15/01/13
    Version:
    $Id$
    Author:
    Marine Dumousseau (marine@ebi.ac.uk)
    • Constructor Detail

      • DefaultExperimentComparator

        public DefaultExperimentComparator()
    • Method Detail

      • areEquals

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