Class DefaultModelledFeatureComparator


  • public class DefaultModelledFeatureComparator
    extends Object
    Default ModelledFeature comparator. It will use a DefaultFeatureBaseComparator to compare basic properties of a feature. This comparator will ignore all the other properties of a biological feature.
    Since:
    16/01/13
    Version:
    $Id$
    Author:
    Marine Dumousseau (marine@ebi.ac.uk)
    • Constructor Detail

      • DefaultModelledFeatureComparator

        public DefaultModelledFeatureComparator()
    • Method Detail

      • areEquals

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