org.crosswire.jsword.book

## Class BookSet.GroupFilter

- java.lang.Object
- - org.crosswire.jsword.book.BookSet.GroupFilter

- All Implemented Interfaces:
    Filter<Book>
  Enclosing class:
    BookSet

      private static final class BookSet.GroupFilter
      extends Object
      implements Filter<Book>

  GroupFilter does the SQL traditional group by.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `private String` | `key`
    `private Object` | `value`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `BookSet.GroupFilter(String aKey, Object aValue)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `test(Book book)` Does this given object pass the test implemented by this filter

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### key

          private String key

    - #### value

          private Object value

  - ### Constructor Detail

    - #### BookSet.GroupFilter

          BookSet.GroupFilter(String aKey,
                             Object aValue)

  - ### Method Detail

    - #### test

          public boolean test(Book book)

      Description copied from interface: `Filter`
      Does this given object pass the test implemented by this filter
      Specified by:
        `test` in interface `Filter<Book>`
      Parameters:
        `book` - The object to test
      Returns:
        boolean true if it passes, false otherwise