Class DefaultModelledParticipantPoolComparator


  • public class DefaultModelledParticipantPoolComparator
    extends Object
    Default biological participant pool comparator. It will compare the basic properties of a biological participant using DefaultParticipantBaseComparator. It will compare the participant candidates using DefaultModelledEntityComparator 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

      • DefaultModelledParticipantPoolComparator

        public DefaultModelledParticipantPoolComparator()
    • Method Detail

      • areEquals

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