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