Class DefaultPolymerComparator


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

      • DefaultPolymerComparator

        public DefaultPolymerComparator()
    • Method Detail

      • areEquals

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