@Test public void testGetFilter() throws Exception { PaginationFilter<Object> objectFilter = new TestObjectFilter(); Assert.assertEquals("Default filter is not correct.", objectFilter.getFilter(), ""); objectFilter.replaceFilter("myFilter", ""); Assert.assertEquals("New filter is not correct.", objectFilter.getFilter(), "myFilter"); }
final String getFilter() { return filter; }
PaginationFilter implements Predicate<T> { final String getFilter() { return filter; } }
PaginationFilter implements Predicate<T> { final String getFilter() { return filter; }  }
PaginationFilter implements Predicate<T> { final String getFilter() { return filter; }  PaginationFilter<T> replaceFilter(final String filter, final String timeZoneOffset); final boolean test(T object, Class<V> enumType); }
PaginationFilter implements Predicate<T> { final String getFilter() { return filter; }  PaginationFilter<T> replaceFilter(final String filter, final String timeZoneOffset); final boolean test(T object, Class<V> enumType);  }