Class DefaultFeatureComparator


  • public class DefaultFeatureComparator
    extends Object
    Generic default feature comparator. Biological features come first and then experimental features. - It uses DefaultModelledFeatureComparator to compare biological features - It uses DefaultFeatureEvidenceComparator to compare experimental features - It uses DefaultFeatureBaseComparator to compare basic feature properties
    Since:
    04/02/13
    Version:
    $Id$
    Author:
    Marine Dumousseau (marine@ebi.ac.uk)
    • Constructor Detail

      • DefaultFeatureComparator

        public DefaultFeatureComparator()
    • Method Detail

      • areEquals

        public static boolean areEquals​(Feature feature1,
                                        Feature feature2)
        Use DefaultFeatureComparator to know if two features are equals.
        Parameters:
        feature1 - a Feature object.
        feature2 - a Feature object.
        Returns:
        true if the two features are equal