Class DefaultExactParticipantPoolComparator


  • public class DefaultExactParticipantPoolComparator
    extends Object
    Default exact participant pool comparator It will first compare the interactors, biological role and stoichiometry using DefaultExactParticipantBaseComparator it will then compare the participant candidates using DefaultExactEntityBaseComparator. 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

      • DefaultExactParticipantPoolComparator

        public DefaultExactParticipantPoolComparator()
    • Method Detail

      • areEquals

        public static boolean areEquals​(ParticipantPool participant1,
                                        ParticipantPool participant2,
                                        boolean ignoreInteractors)
        Use DefaultExactParticipantPoolComparator 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