public class TermVectorEntryFreqSortedComparator extends java.lang.Object implements java.util.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) |
public int compare(TermVectorEntry entry, TermVectorEntry entry1)
compare
in interface java.util.Comparator<TermVectorEntry>
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.