
public class SpatialSingleMinComparator extends Object implements Comparator<SpatialComparable>
| Modifier and Type | Field and Description | 
|---|---|
(package private) int | 
dim
Current dimension. 
 | 
| Constructor and Description | 
|---|
SpatialSingleMinComparator(int dim)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
compare(SpatialComparable o1,
       SpatialComparable o2)  | 
void | 
setDimension(int dim)
Set the dimension to sort by. 
 | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequalspublic SpatialSingleMinComparator(int dim)
dim - Dimension to sort by.public void setDimension(int dim)
dim - Dimensionpublic int compare(SpatialComparable o1, SpatialComparable o2)
compare in interface Comparator<SpatialComparable>