Class DefaultExactModelledParticipantComparator


  • public class DefaultExactModelledParticipantComparator
    extends Object
    Default exact biological participant comparator. It will compare the basic properties of a biological participant using DefaultExactParticipantBaseComparator. It will compare features using DefaultModelledFeatureComparator. If the participant is a modelledParticipantPool, it will use DefaultExactModelledParticipantPoolComparator. This comparator will ignore all the other properties of a biological participant.
    Since:
    13/02/13
    Version:
    $Id$
    Author:
    Marine Dumousseau (marine@ebi.ac.uk)
    • Constructor Detail

      • DefaultExactModelledParticipantComparator

        public DefaultExactModelledParticipantComparator()
    • Method Detail

      • areEquals

        public static boolean areEquals​(ModelledParticipant bioParticipant1,
                                        ModelledParticipant bioParticipant2,
                                        boolean checkComplexesAsInteractors)
        It will compare the basic properties of a biological participant using DefaultExactParticipantBaseComparator. It will compare features using DefaultModelledFeatureComparator. If the participant is a modelledParticipantPool, it will use DefaultExactModelledParticipantPoolComparator. This comparator will ignore all the other properties of a biological participant.
        Parameters:
        bioParticipant1 - a ModelledParticipant object.
        bioParticipant2 - a ModelledParticipant object.
        checkComplexesAsInteractors - a boolean.
        Returns:
        true if the two biological participants are equal