@Test void valuesForRangeOperator() { QueryRule qr = new QueryRule("field", RANGE, Arrays.asList(10, 10)); assertEquals(asList(10, 10), qr.getValue()); }
public Object getValue() { return value; }
QueryRule { public Object getValue() { return value; } }
QueryRule { public Object getValue() { return value; } QueryRule();  QueryRule(List<QueryRule> nestedRules);  QueryRule(QueryRule copy);  QueryRule(String field, Operator operator, Object value); @SuppressWarnings("unchecked")  QueryRule(Operator operator, Object value);  QueryRule(Operator operator, QueryRule nestedRules);  QueryRule(Operator operator);  QueryRule(String field, Operator equals, String value); }
QueryRule { public Object getValue() { return value; } QueryRule();  QueryRule(List<QueryRule> nestedRules);  QueryRule(QueryRule copy);  QueryRule(String field, Operator operator, Object value); @SuppressWarnings("unchecked")  QueryRule(Operator operator, Object value);  QueryRule(Operator operator, QueryRule nestedRules);  QueryRule(Operator operator);  QueryRule(String field, Operator equals, String value); String getField(); void setField(String field); Operator getOperator(); void setOperator(Operator operator); Object getValue(); void setValue(Object value); List<QueryRule> getNestedRules(); @Override String toString(); static QueryRule eq(String name, Object value); @Override boolean equals(Object o); @Override int hashCode(); }
QueryRule { public Object getValue() { return value; } QueryRule();  QueryRule(List<QueryRule> nestedRules);  QueryRule(QueryRule copy);  QueryRule(String field, Operator operator, Object value); @SuppressWarnings("unchecked")  QueryRule(Operator operator, Object value);  QueryRule(Operator operator, QueryRule nestedRules);  QueryRule(Operator operator);  QueryRule(String field, Operator equals, String value); String getField(); void setField(String field); Operator getOperator(); void setOperator(Operator operator); Object getValue(); void setValue(Object value); List<QueryRule> getNestedRules(); @Override String toString(); static QueryRule eq(String name, Object value); @Override boolean equals(Object o); @Override int hashCode();  }