Class DefaultCooperativeEffectBaseComparator


  • public class DefaultCooperativeEffectBaseComparator
    extends Object
    Default comparator for CooperativeEffect It will first compare the outcome using DefaultCvTermComparator. Then it will compare the response using DefaultCvTermComparator. Then it will compare the CooperativityEvidences using DefaultCooperativityEvidenceComparator. Finally it will compare the affected interactions using DefaultModelledInteractionComparator
    Since:
    23/05/13
    Version:
    $Id$
    Author:
    Marine Dumousseau (marine@ebi.ac.uk)
    • Constructor Detail

      • DefaultCooperativeEffectBaseComparator

        public DefaultCooperativeEffectBaseComparator()
    • Method Detail

      • areEquals

        public static boolean areEquals​(CooperativeEffect cooperativeEffect1,
                                        CooperativeEffect cooperativeEffect2)
        Use DefaultCooperativeEffectBaseComparator to know if two CooperativeEffects are equals.
        Parameters:
        cooperativeEffect1 - a CooperativeEffect object.
        cooperativeEffect2 - a CooperativeEffect object.
        Returns:
        true if the two CooperativeEffects are equal