Class DefaultExactModelledInteractionComparator


  • public class DefaultExactModelledInteractionComparator
    extends Object
    Default exact ModelledInteraction comparator. It will use a DefaultInteractionBaseComparator to compare basic interaction properties. Then it will compare the modelledParticipants using DefaultExactModelledParticipantComparator.
    Since:
    21/01/13
    Version:
    $Id$
    Author:
    Marine Dumousseau (marine@ebi.ac.uk)
    • Constructor Detail

      • DefaultExactModelledInteractionComparator

        public DefaultExactModelledInteractionComparator()
    • Method Detail

      • areEquals

        public static boolean areEquals​(ModelledInteraction interaction1,
                                        ModelledInteraction interaction2)
        It will use a DefaultInteractionBaseComparator to compare basic interaction properties. Then it will compare the modelledParticipants using DefaultExactModelledParticipantComparator.
        Parameters:
        interaction1 - a ModelledInteraction object.
        interaction2 - a ModelledInteraction object.
        Returns:
        true if the two modelled interactions are equal