Comparator<TermVectorEntry>public class TermVectorEntryFreqSortedComparator extends Object implements Comparator<TermVectorEntry>
TermVectorEntrys first by frequency and then by
the term (case-sensitive)| Constructor | Description |
|---|---|
TermVectorEntryFreqSortedComparator() |
| Modifier and Type | Method | Description |
|---|---|---|
int |
compare(TermVectorEntry entry,
TermVectorEntry entry1) |
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic int compare(TermVectorEntry entry, TermVectorEntry entry1)
compare in interface Comparator<TermVectorEntry>Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.