org.dlese.dpc.dds
Class SortDocsAlphabetically
java.lang.Object
org.dlese.dpc.dds.SortDocsAlphabetically
- All Implemented Interfaces:
- Comparator
- public class SortDocsAlphabetically
- extends Object
- implements Comparator
Description of the Class
- Author:
- ryandear
Method Summary |
int |
compare(Object o1,
Object o2)
Provide comparison for sorting Lucene documents alphabetically by "title" |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SortDocsAlphabetically
public SortDocsAlphabetically()
compare
public int compare(Object o1,
Object o2)
- Provide comparison for sorting Lucene documents alphabetically by "title"
- Specified by:
compare
in interface Comparator
- Parameters:
o1
- document 1o2
- document 2
- Returns:
- DESCRIPTION