Package org.biojava.bio.seq
Class ByLocationMinMaxComparator
- java.lang.Object
-
- org.biojava.bio.seq.ByLocationMinMaxComparator
-
- All Implemented Interfaces:
Comparator
public class ByLocationMinMaxComparator extends Object implements Comparator
A Comparator similar to Feature.ByLocationComparator except that the min and max positions of the location are both compared- Since:
- 1.5
- Author:
- Mark Southern
-
-
Constructor Summary
Constructors Constructor Description ByLocationMinMaxComparator()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Comparator
comparator()
int
compare(Object o1, Object o2)
-
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
-
ByLocationMinMaxComparator
public ByLocationMinMaxComparator()
-
-
Method Detail
-
comparator
public static Comparator comparator()
-
compare
public int compare(Object o1, Object o2)
- Specified by:
compare
in interfaceComparator
-
-