org.dlese.dpc.dds
Class SortResultDocsAlphabetically
java.lang.Object
org.dlese.dpc.dds.SortResultDocsAlphabetically
- All Implemented Interfaces:
- Comparator
public class SortResultDocsAlphabetically
- 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 |
SortResultDocsAlphabetically
public SortResultDocsAlphabetically()
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