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