ElasticsearchExprGeoPointValue extends AbstractExprValue { @Override public int compare(ExprValue other) { return geoPoint.toString() .compareTo((((ElasticsearchExprGeoPointValue) other).geoPoint).toString()); } ElasticsearchExprGeoPointValue(Double lat, Double lon); @Override Object value(); @Override ExprType type(); @Override int compare(ExprValue other); @Override boolean equal(ExprValue other); @Override int hashCode();  }
@Test void compare() { assertEquals(0, geoPointValue.compareTo(new ElasticsearchExprGeoPointValue(1.0, 1.0))); }