Class DefaultRangeComparator
- java.lang.Object
-
- psidev.psi.mi.jami.utils.comparator.range.DefaultRangeComparator
-
public class DefaultRangeComparator extends Object
Default RangeComparator. It compares first the start Position, then the end Position using a DefaultPositionComparator, If start/end positions are equals, compare if the ranges are linked. - Two ranges which are null are equals- Since:
21/12/12
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description DefaultRangeComparator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
areEquals(Range range1, Range range2)
Use DefaultRangeComparator to know if two ranges are equals.
-