Class FeatureCollectionComparator<T extends Feature>
- java.lang.Object
-
- psidev.psi.mi.jami.utils.comparator.CollectionComparator<T>
-
- psidev.psi.mi.jami.utils.comparator.feature.FeatureCollectionComparator<T>
-
- All Implemented Interfaces:
Comparator<Collection<? extends T>>
public class FeatureCollectionComparator<T extends Feature> extends CollectionComparator<T>
Comparator for collection of Features- Since:
16/01/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description FeatureCollectionComparator(Comparator<T> featureComparator)
Creates a new feature 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
-
FeatureCollectionComparator
public FeatureCollectionComparator(Comparator<T> featureComparator)
Creates a new feature CollectionComparator. It requires a Comparator for the ranges in the Collection- Parameters:
featureComparator
- aComparator
object.
-
-
Method Detail
-
getObjectComparator
public Comparator<T> getObjectComparator()
Getter for the field
objectComparator
.- Overrides:
getObjectComparator
in classCollectionComparator<T extends Feature>
- Returns:
- a
Comparator
object.
-
-