Constructor and Description |
---|
DocumentComparator() |
DocumentComparator(boolean ascending,
boolean caseSensitive) |
Modifier and Type | Method and Description |
---|---|
void |
addOrderBy(String name) |
void |
addOrderBy(String name,
boolean ascending) |
void |
addOrderBy(String name,
boolean ascending,
boolean caseSensitive) |
int |
compare(Document doc1,
Document doc2) |
public DocumentComparator()
public DocumentComparator(boolean ascending, boolean caseSensitive)