Class DefaultInteractionComparator


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

      • DefaultInteractionComparator

        public DefaultInteractionComparator()
    • Method Detail

      • areEquals

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