Class DefaultExactModelledParticipantInteractorComparator


  • public class DefaultExactModelledParticipantInteractorComparator
    extends Object
    Default biological participant comparator based on the interactor only. It will compare the interactor using DefaultExactInteractorComparator. This comparator will ignore all the other properties of a biological participant.
    Since:
    30/05/13
    Version:
    $Id$
    Author:
    Marine Dumousseau (marine@ebi.ac.uk)
    • Constructor Detail

      • DefaultExactModelledParticipantInteractorComparator

        public DefaultExactModelledParticipantInteractorComparator()
    • Method Detail

      • areEquals

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