@Test public void notFooShouldNotMatchFoo() { TagExpression e = new TagExpression(Collections.singletonList("~@foo")); assertFalse(e.evaluate(Collections.singletonList(new Tag("@foo", 1)))); }
public boolean evaluate(Collection<Tag> tags) { return and.isEmpty() || and.eval(tags); }
TagExpression { public boolean evaluate(Collection<Tag> tags) { return and.isEmpty() || and.eval(tags); } }
TagExpression { public boolean evaluate(Collection<Tag> tags) { return and.isEmpty() || and.eval(tags); } TagExpression(List<String> tagExpressions); }
TagExpression { public boolean evaluate(Collection<Tag> tags) { return and.isEmpty() || and.eval(tags); } TagExpression(List<String> tagExpressions); boolean evaluate(Collection<Tag> tags); Map<String, Integer> limits(); boolean isEmpty(); }
TagExpression { public boolean evaluate(Collection<Tag> tags) { return and.isEmpty() || and.eval(tags); } TagExpression(List<String> tagExpressions); boolean evaluate(Collection<Tag> tags); Map<String, Integer> limits(); boolean isEmpty();  }