Class ModelledInteractionCollectionComparator
- java.lang.Object
-
- psidev.psi.mi.jami.utils.comparator.CollectionComparator<ModelledInteraction>
-
- psidev.psi.mi.jami.utils.comparator.interaction.ModelledInteractionCollectionComparator
-
- All Implemented Interfaces:
Comparator<Collection<? extends ModelledInteraction>>
public class ModelledInteractionCollectionComparator extends CollectionComparator<ModelledInteraction>
Comparator for collection of modelled interactions- Since:
21/01/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description ModelledInteractionCollectionComparator(ModelledInteractionComparator modelledInteractionComparator)Creates a new modelled interaction CollectionComparator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModelledInteractionComparatorgetObjectComparator()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
-
ModelledInteractionCollectionComparator
public ModelledInteractionCollectionComparator(ModelledInteractionComparator modelledInteractionComparator)
Creates a new modelled interaction CollectionComparator. It requires a Comparator for the parameters in the Collection- Parameters:
modelledInteractionComparator- aModelledInteractionComparatorobject.
-
-
Method Detail
-
getObjectComparator
public ModelledInteractionComparator getObjectComparator()
Getter for the field
objectComparator.- Overrides:
getObjectComparatorin classCollectionComparator<ModelledInteraction>- Returns:
- a
Comparatorobject.
-
-