Class DefaultEntityComparator


  • public class DefaultEntityComparator
    extends Object
    Generic default entity comparator. Modelled participants come first and then experimental participants - It uses DefaultModelledParticipantComparator to compare components - It uses DefaultParticipantEvidenceComparator to compare experimental participants - It uses DefaultParticipantBaseComparator to compare basic participant properties
    Since:
    04/02/13
    Version:
    $Id$
    Author:
    Marine Dumousseau (marine@ebi.ac.uk)
    • Constructor Detail

      • DefaultEntityComparator

        public DefaultEntityComparator()
    • Method Detail

      • areEquals

        public static boolean areEquals​(Entity participant1,
                                        Entity participant2)
        Use DefaultExactEntityComparator to know if two participants are equals.
        Parameters:
        participant1 - a Entity object.
        participant2 - a Entity object.
        Returns:
        true if the two participants are equal