Class DefaultCuratedModelledInteractionComparator


  • public class DefaultCuratedModelledInteractionComparator
    extends Object
    Default curated ModelledInteraction comparator. It will use a DefaultCuratedInteractionBaseComparator to compare basic interaction properties. Then it will compare the modelledParticipants using DefaultModelledParticipantComparator. Finally, it will compare the source of the modelledInteraction using DefaultCvTermComparator
    Since:
    21/01/13
    Version:
    $Id$
    Author:
    Marine Dumousseau (marine@ebi.ac.uk)
    • Constructor Detail

      • DefaultCuratedModelledInteractionComparator

        public DefaultCuratedModelledInteractionComparator()
    • Method Detail

      • areEquals

        public static boolean areEquals​(ModelledInteraction modelledInteraction1,
                                        ModelledInteraction modelledInteraction2)
        Use DefaultCuratedModelledInteractionComparator to know if two modelled interactions are equals.
        Parameters:
        modelledInteraction1 - a ModelledInteraction object.
        modelledInteraction2 - a ModelledInteraction object.
        Returns:
        true if the two modelled interactions are equal