org.apache.lucene.index
Class TermVectorEntryFreqSortedComparator

java.lang.Object
  extended by org.apache.lucene.index.TermVectorEntryFreqSortedComparator
All Implemented Interfaces:
java.util.Comparator<TermVectorEntry>

public class TermVectorEntryFreqSortedComparator
extends java.lang.Object
implements java.util.Comparator<TermVectorEntry>

Compares TermVectorEntrys first by frequency and then by the term (case-sensitive)


Constructor Summary
TermVectorEntryFreqSortedComparator()
           
 
Method Summary
 int compare(TermVectorEntry entry, TermVectorEntry entry1)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

TermVectorEntryFreqSortedComparator

public TermVectorEntryFreqSortedComparator()
Method Detail

compare

public int compare(TermVectorEntry entry,
                   TermVectorEntry entry1)
Specified by:
compare in interface java.util.Comparator<TermVectorEntry>


Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.