@Test public void testAppliesToProperty() { SimpleStringFilter filter = f(PROPERTY1, "ab", false, true); Assert.assertTrue(filter.appliesToProperty(PROPERTY1)); Assert.assertFalse(filter.appliesToProperty(PROPERTY2)); Assert.assertFalse(filter.appliesToProperty("other")); }
@Override public boolean appliesToProperty(Object propertyId) { return this.propertyId.equals(propertyId); }
SimpleStringFilter implements Filter { @Override public boolean appliesToProperty(Object propertyId) { return this.propertyId.equals(propertyId); } }
SimpleStringFilter implements Filter { @Override public boolean appliesToProperty(Object propertyId) { return this.propertyId.equals(propertyId); } SimpleStringFilter(Object propertyId, String filterString,
            boolean ignoreCase, boolean onlyMatchPrefix); }
SimpleStringFilter implements Filter { @Override public boolean appliesToProperty(Object propertyId) { return this.propertyId.equals(propertyId); } SimpleStringFilter(Object propertyId, String filterString,
            boolean ignoreCase, boolean onlyMatchPrefix); @Override boolean passesFilter(Object itemId, Item item); @Override boolean appliesToProperty(Object propertyId); @Override boolean equals(Object obj); @Override int hashCode(); Object getPropertyId(); String getFilterString(); boolean isIgnoreCase(); boolean isOnlyMatchPrefix(); }
SimpleStringFilter implements Filter { @Override public boolean appliesToProperty(Object propertyId) { return this.propertyId.equals(propertyId); } SimpleStringFilter(Object propertyId, String filterString,
            boolean ignoreCase, boolean onlyMatchPrefix); @Override boolean passesFilter(Object itemId, Item item); @Override boolean appliesToProperty(Object propertyId); @Override boolean equals(Object obj); @Override int hashCode(); Object getPropertyId(); String getFilterString(); boolean isIgnoreCase(); boolean isOnlyMatchPrefix();  }