Class DefaultModelledParticipantInteractorComparator


  • public class DefaultModelledParticipantInteractorComparator
    extends Object
    Default biological participant comparator based on the interactor only. It will compare the basic properties of a biological participant using DefaultParticipantInteractorComparator. 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

      • DefaultModelledParticipantInteractorComparator

        public DefaultModelledParticipantInteractorComparator()
    • Method Detail

      • areEquals

        public static boolean areEquals​(ModelledEntity participant1,
                                        ModelledEntity participant2)
        Use DefaultModelledParticipantInteractorComparator 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