Class DefaultExactComplexComparator


  • public class DefaultExactComplexComparator
    extends Object
    Default exact Complex comparator It will first look at the default properties of an interactor using DefaultExactInteractorBaseComparator. 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 DefaultExactModelledParticipantComparator.
    Since:
    17/01/13
    Version:
    $Id$
    Author:
    Marine Dumousseau (marine@ebi.ac.uk)
    • Constructor Detail

      • DefaultExactComplexComparator

        public DefaultExactComplexComparator()
    • Method Detail

      • areEquals

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