Class DefaultComplexComparator


  • public class DefaultComplexComparator
    extends Object
    Default Complex comparator It will first look at the default properties of an interactor using DefaultInteractorBaseComparator. It will then compare interaction types using DefaultCvTermComparator. If the basic interactor properties are the same, It will first compare the collection of components using DefaultModelledParticipantComparator.
    Since:
    17/01/13
    Version:
    $Id$
    Author:
    Marine Dumousseau (marine@ebi.ac.uk)
    • Constructor Detail

      • DefaultComplexComparator

        public DefaultComplexComparator()
    • Method Detail

      • areEquals

        public static boolean areEquals​(Complex complex1,
                                        Complex complex2)
        Use DefaultComplexComparator to know if two complexes are equals.
        Parameters:
        complex1 - a Complex object.
        complex2 - a Complex object.
        Returns:
        true if the two complexes are equal