Class 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 Detail

      • DefaultFeatureEvidenceComparator

        public DefaultFeatureEvidenceComparator()
    • Method Detail

      • areEquals

        public static boolean areEquals​(FeatureEvidence experimentalFeature1,
                                        FeatureEvidence experimentalFeature2)
        Use DefaultFeatureEvidenceComparator to know if two experimental features are equals.
        Parameters:
        experimentalFeature1 - a FeatureEvidence object.
        experimentalFeature2 - a FeatureEvidence object.
        Returns:
        true if the two experimental features are equal