operator fun compareTo(other: SpatialObjectPair): Int { return java.lang.Double.compare(this.distance, other.distance) }
Compares this object with the specified object for order . Returns a negative integer , zero , or a positive integer as this object is less than , equal to , or greater than the specified object . < p/ >