public class TermVectorEntryFreqSortedComparator extends Object implements Comparator<TermVectorEntry>
TermVectorEntry
s first by frequency and then by
the term (case-sensitive)Constructor and Description |
---|
TermVectorEntryFreqSortedComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(TermVectorEntry entry,
TermVectorEntry entry1) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals
public int compare(TermVectorEntry entry, TermVectorEntry entry1)
compare
in interface Comparator<TermVectorEntry>