Class DefaultExactPolymerComparator


  • public class DefaultExactPolymerComparator
    extends Object
    Default exact polymer comparator. It will first use DefaultExactInteractorBaseComparator to compare the basic interactor properties If the basic interactor properties are the same, it will look at sequence/organism.
    Since:
    21/05/13
    Version:
    $Id$
    Author:
    Marine Dumousseau (marine@ebi.ac.uk)
    • Constructor Detail

      • DefaultExactPolymerComparator

        public DefaultExactPolymerComparator()
    • Method Detail

      • areEquals

        public static boolean areEquals​(Polymer polymer1,
                                        Polymer polymer2)
        Use DefaultExactPolymerComparator to know if two polymers are equals.
        Parameters:
        polymer1 - a Polymer object.
        polymer2 - a Polymer object.
        Returns:
        true if the two polymers are equal