All Downloads are FREE. Search and download functionalities are using the official Maven repository.

umcg.genetica.collections.intervaltree.RangeEndReverseComparator Maven / Gradle / Ivy

There is a newer version: 1.0.7
Show newest version
package umcg.genetica.collections.intervaltree;

import java.util.Comparator;

/**
 *
 * @author Patrick Deelen
 */
public class RangeEndReverseComparator implements Comparator{

	@Override
	/**
	 * Note: we consider large end values to be smaller for reverse sort
	 */
	public int compare(Range o1, Range o2) {
		return o2.getEnd() - o1.getEnd();
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy