Class ModelledFeatureComparator

  • All Implemented Interfaces:
    Comparator<ModelledFeature>
    Direct Known Subclasses:
    UnambiguousModelledFeaturecomparator

    public class ModelledFeatureComparator
    extends Object
    implements Comparator<ModelledFeature>
    Basic ModelledFeature comparator. It will use a AbstractFeatureBaseComparator 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

      • ModelledFeatureComparator

        public ModelledFeatureComparator​(Comparator<Feature> featureComparator)
        Creates a new ModelledFeatureComparator.
        Parameters:
        featureComparator - : feature comparator required for comparing basic feature properties
    • Method Detail

      • getFeatureComparator

        public Comparator<Feature> getFeatureComparator()

        Getter for the field featureComparator.

        Returns:
        a Comparator object.