Class DefaultFeatureEvidenceComparator
- java.lang.Object
-
- psidev.psi.mi.jami.utils.comparator.feature.DefaultFeatureEvidenceComparator
-
public class DefaultFeatureEvidenceComparator extends Object
Default FeatureEvidence comparator. It will first compare feature detection methods using DefaultCvTermComparator. If both feature detection methods are the same, it will use a DefaultFeatureBaseComparator to compare basic properties of a feature. This comparator will ignore all the other properties of an experimental feature.- Since:
16/01/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description DefaultFeatureEvidenceComparator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
areEquals(FeatureEvidence experimentalFeature1, FeatureEvidence experimentalFeature2)
Use DefaultFeatureEvidenceComparator to know if two experimental features are equals.
-
-
-
Method Detail
-
areEquals
public static boolean areEquals(FeatureEvidence experimentalFeature1, FeatureEvidence experimentalFeature2)
Use DefaultFeatureEvidenceComparator to know if two experimental features are equals.- Parameters:
experimentalFeature1
- aFeatureEvidence
object.experimentalFeature2
- aFeatureEvidence
object.- Returns:
- true if the two experimental features are equal
-
-