Class ParticipantCollectionComparator<T extends Entity>
- java.lang.Object
-
- psidev.psi.mi.jami.utils.comparator.CollectionComparator<T>
-
- psidev.psi.mi.jami.utils.comparator.participant.ParticipantCollectionComparator<T>
-
- All Implemented Interfaces:
Comparator<Collection<? extends T>>
public class ParticipantCollectionComparator<T extends Entity> extends CollectionComparator<T>
Comparator for collection of participants- Since:
18/01/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description ParticipantCollectionComparator(Comparator<T> participantComparator)
Creates a new participant CollectionComparator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Comparator<T>
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
-
ParticipantCollectionComparator
public ParticipantCollectionComparator(Comparator<T> participantComparator)
Creates a new participant CollectionComparator. It requires a Comparator for the participants in the Collection- Parameters:
participantComparator
- aComparator
object.
-
-
Method Detail
-
getObjectComparator
public Comparator<T> getObjectComparator()
Getter for the field
objectComparator
.- Overrides:
getObjectComparator
in classCollectionComparator<T extends Entity>
- Returns:
- a
Comparator
object.
-
-