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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ByLocationMinMaxComparator
public ByLocationMinMaxComparator()
comparator
public static Comparator comparator()
compare
public int compare(Object o1,
Object o2)
- Specified by:
compare
in interface Comparator