Class DefaultExactInteractionComparator


  • public class DefaultExactInteractionComparator
    extends Object
    Default exact Generic interaction comparator. Modelled interactions come first, then experimental interactions - It uses DefaultExactInteractionEvidenceComparator to compare experimental interactions - It uses DefaultExactModelledInteractionComparator to compare modelled interactions - It uses DefaultExactInteractionBaseComparator to compare basic interaction properties
    Since:
    05/02/13
    Version:
    $Id$
    Author:
    Marine Dumousseau (marine@ebi.ac.uk)
    • Constructor Detail

      • DefaultExactInteractionComparator

        public DefaultExactInteractionComparator()
    • Method Detail

      • areEquals

        public static boolean areEquals​(Interaction interaction1,
                                        Interaction interaction2)
        Use DefaultExactInteractionComparator to know if two interactions are equals.
        Parameters:
        interaction1 - a Interaction object.
        interaction2 - a Interaction object.
        Returns:
        true if the two interactions are equal