Class DefaultModelledEntityComparator


  • public class DefaultModelledEntityComparator
    extends Object
    Default biological entity comparator. It will compare the basic properties of a biological entity using DefaultEntityBaseComparator. This comparator will ignore all the other properties of a biological entity.
    Since:
    13/02/13
    Version:
    $Id$
    Author:
    Marine Dumousseau (marine@ebi.ac.uk)
    • Constructor Detail

      • DefaultModelledEntityComparator

        public DefaultModelledEntityComparator()
    • Method Detail

      • areEquals

        public static boolean areEquals​(ModelledEntity bioParticipant1,
                                        ModelledEntity bioParticipant2,
                                        boolean checkComplexesAsInteractors)
        Use DefaultModelledEntityComparator to know if two biological entities are equals.
        Parameters:
        bioParticipant1 - a ModelledEntity object.
        bioParticipant2 - a ModelledEntity object.
        checkComplexesAsInteractors - a boolean.
        Returns:
        true if the two biological entities are equal