Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.crosswire.jsword.book
Class BookComparators

    java.lang.Object
      org.crosswire.jsword.book.BookComparators

    public final class BookComparators

extends Object

Provides different ways to sort Books.

Author:
  DM Smith
See Also:
  `The GNU Lesser General Public License for details.`

Constructor Summary
`private` | `BookComparators()` Ensure we can't be created

Method Summary
`static Comparator<Book>` | `getDefault()` Order by default Book ordering
`static Comparator<Book>` | `getInitialComparator()` Order by Initials.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### BookComparators

    private BookComparators()

  Ensure we can't be created

Method Detail

### getDefault

    public static Comparator<Book> getDefault()

  Order by default Book ordering

  Returns:
    the desired Comparator

### getInitialComparator

    public static Comparator<Book> getInitialComparator()

  Order by Initials.

  Returns:
    the desired Comparator

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Copyright ¨ 2003-2015
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD