static class BookFilters.NotBookCategoryFilter extends Object implements BookFilter
Modifier and Type | Field and Description |
---|---|
private BookCategory |
category |
Constructor and Description |
---|
BookFilters.NotBookCategoryFilter(BookCategory category) |
private BookCategory category
BookFilters.NotBookCategoryFilter(BookCategory category)
public boolean test(Book book)
BookFilter
test
in interface BookFilter
book
- The Book to test