Class DefaultExperimentComparator
- java.lang.Object
-
- psidev.psi.mi.jami.utils.comparator.experiment.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 Summary
Constructors Constructor Description DefaultExperimentComparator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
areEquals(Experiment experiment1, Experiment experiment2)
Use DefaultExperimentComparator to know if two experiment are equals.
-
-
-
Method Detail
-
areEquals
public static boolean areEquals(Experiment experiment1, Experiment experiment2)
Use DefaultExperimentComparator to know if two experiment are equals.- Parameters:
experiment1
- aExperiment
object.experiment2
- aExperiment
object.- Returns:
- true if the two experiment are equal
-
-