Package org.apache.solr.spelling
Class SampleComparator
- java.lang.Object
 - 
- org.apache.solr.spelling.SampleComparator
 
 
- 
- All Implemented Interfaces:
 Comparator<org.apache.lucene.search.spell.SuggestWord>
public class SampleComparator extends Object implements Comparator<org.apache.lucene.search.spell.SuggestWord>
Comparator for testing purposes 
- 
- 
Constructor Summary
Constructors Constructor Description SampleComparator() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompare(org.apache.lucene.search.spell.SuggestWord suggestWord, org.apache.lucene.search.spell.SuggestWord suggestWord1)- 
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, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong 
 - 
 
 - 
 
- 
- 
Method Detail
- 
compare
public int compare(org.apache.lucene.search.spell.SuggestWord suggestWord, org.apache.lucene.search.spell.SuggestWord suggestWord1)- Specified by:
 comparein interfaceComparator<org.apache.lucene.search.spell.SuggestWord>
 
 - 
 
 -