Class DefaultParticipantPoolComparator


  • public class DefaultParticipantPoolComparator
    extends Object
    Default participant pool comparator It will first compare the interactors, biological role and stoichiometry using DefaultParticipantBaseComparator it will then compare the participant candidates using DefaultEntityBaseComparator. This comparator will ignore all the other properties of a participantPool.
    Since:
    16/01/13
    Version:
    $Id$
    Author:
    Marine Dumousseau (marine@ebi.ac.uk)
    • Constructor Detail

      • DefaultParticipantPoolComparator

        public DefaultParticipantPoolComparator()
    • Method Detail

      • areEquals

        public static boolean areEquals​(ParticipantPool participant1,
                                        ParticipantPool participant2,
                                        boolean ignoreInteractors)
        Use DefaultParticipantBaseComparator to know if two participant pools are equals.
        Parameters:
        participant1 - a ParticipantPool object.
        participant2 - a ParticipantPool object.
        ignoreInteractors - a boolean.
        Returns:
        true if the two participant pools are equal