@Test public void testCriterion() throws Exception { LeCriterion criterion = new LeCriterion("a", "b"); assertThat(criterion.value(), equalTo("(a<=b)")); assertThat(criterion.filter(), notNullValue()); }
@Override public String value() { return '(' + attribute + "<=" + value + ')'; }
LeCriterion extends AbstractCriterion { @Override public String value() { return '(' + attribute + "<=" + value + ')'; } }
LeCriterion extends AbstractCriterion { @Override public String value() { return '(' + attribute + "<=" + value + ')'; } LeCriterion(String attribute, Object value); }
LeCriterion extends AbstractCriterion { @Override public String value() { return '(' + attribute + "<=" + value + ')'; } LeCriterion(String attribute, Object value); @Override String value(); }
LeCriterion extends AbstractCriterion { @Override public String value() { return '(' + attribute + "<=" + value + ')'; } LeCriterion(String attribute, Object value); @Override String value();  }