Class DefaultAllosteryComparator


  • public class DefaultAllosteryComparator
    extends Object
    Default comparator for Allostery It will first compare basic cooperative effect properties using DefaultCooperativeEffectBaseComparator. Then, it will compare the allosteric effector types : - molecule effector types always come first - if both allosteric effector are molecule effectors, it will use DefaultMoleculeEffectorComparator to compare them - if both allosteric effector are feature modification effectors, it will use DefaultFeatureModificationEffectorComparator to compare them Then, it will compare the allosteric mechanisms using DefaultCvTermComparator Then, it will compare the allostery type using DefaultCvTermComparator Finally, it will compare the allosteric molecule using DefaultModelledParticipantComparator
    Since:
    31/05/13
    Version:
    $Id$
    Author:
    Marine Dumousseau (marine@ebi.ac.uk)
    • Constructor Detail

      • DefaultAllosteryComparator

        public DefaultAllosteryComparator()
    • Method Detail

      • areEquals

        public static boolean areEquals​(Allostery allostery1,
                                        Allostery allostery2)
        Use DefaultAllosteryComparator to know if two allostery are equals.
        Parameters:
        allostery1 - a Allostery object.
        allostery2 - a Allostery object.
        Returns:
        true if the two Allostery are equal