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