ElasticsearchExprIpValue extends AbstractExprValue { @Override public int compare(ExprValue other) { return ip.compareTo(((ElasticsearchExprIpValue) other).ip); }  @Override Object value(); @Override ExprType type(); @Override int compare(ExprValue other); @Override boolean equal(ExprValue other); @Override int hashCode();  }
@Test void compare() { assertEquals(0, ipValue.compareTo(new ElasticsearchExprIpValue("192.168.0.1"))); }