Class ModelledParticipantCollectionComparator
- java.lang.Object
-
- psidev.psi.mi.jami.utils.comparator.CollectionComparator<ModelledParticipant>
-
- psidev.psi.mi.jami.utils.comparator.participant.ModelledParticipantCollectionComparator
-
- All Implemented Interfaces:
Comparator<Collection<? extends ModelledParticipant>>
public class ModelledParticipantCollectionComparator extends CollectionComparator<ModelledParticipant>
Comparator for collection of biological participants- Since:
13/02/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description ModelledParticipantCollectionComparator(CustomizableModelledParticipantComparator<ModelledParticipant> biologicalParticipantComparator)
Creates a new component CollectionComparator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CustomizableModelledParticipantComparator
getObjectComparator()
Getter for the fieldobjectComparator
.-
Methods inherited from class psidev.psi.mi.jami.utils.comparator.CollectionComparator
compare
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Constructor Detail
-
ModelledParticipantCollectionComparator
public ModelledParticipantCollectionComparator(CustomizableModelledParticipantComparator<ModelledParticipant> biologicalParticipantComparator)
Creates a new component CollectionComparator. It requires a Comparator for the biological participants in the Collection- Parameters:
biologicalParticipantComparator
- aCustomizableModelledParticipantComparator
object.
-
-
Method Detail
-
getObjectComparator
public CustomizableModelledParticipantComparator getObjectComparator()
Getter for the field
objectComparator
.- Overrides:
getObjectComparator
in classCollectionComparator<ModelledParticipant>
- Returns:
- a
Comparator
object.
-
-