Class DefaultExactInteractorComparator


  • public class DefaultExactInteractorComparator
    extends Object
    Default exact Interactor Comparator. Bioactive entities come first, then proteins, then genes, then nucleic acids, then complexes and finally InteractorPool. If two interactors are from the same Interactor interface, it will use a more specific Comparator : - Uses DefaultExactBioactiveEntityComparator for comparing BioactiveEntity objects. - Uses DefaultExactProteinComparator for comparing Protein objects. - Uses DefaultExactGeneComparator for comparing Gene objects. - Uses DefaultExactNucleicAcidComparator for comparing NucleicAcids objects. - Uses DefaultExactPolymerComparator for comparing Polymer objects - Uses DefaultExactComplexComparator for comparing complexes - Uses DefaultExactInteractorPoolComparator for comparing interactor candidates - use DefaultExactInteractorBaseComparator for comparing basic interactors that are not one of the above..
    Since:
    17/01/13
    Version:
    $Id$
    Author:
    Marine Dumousseau (marine@ebi.ac.uk)
    • Constructor Detail

      • DefaultExactInteractorComparator

        public DefaultExactInteractorComparator()
    • Method Detail

      • areEquals

        public static boolean areEquals​(Interactor interactor1,
                                        Interactor interactor2)
        Use DefaultExactInteractorComparator to know if two interactors are equals.
        Parameters:
        interactor1 - a Interactor object.
        interactor2 - a Interactor object.
        Returns:
        true if the two interactors are equal