FileDocCategorySizeDatePackage
SuggestWordQueue.javaAPI DocApache Lucene 1.91099Mon Feb 20 09:18:30 GMT 2006org.apache.lucene.search.spell

SuggestWordQueue

public final class SuggestWordQueue extends PriorityQueue
to sort SuggestWord
author
Nicolas Maisonneuve

Fields Summary
Constructors Summary
SuggestWordQueue(int size)

        initialize(size);
    
Methods Summary
protected final booleanlessThan(java.lang.Object a, java.lang.Object b)

        SuggestWord wa=(SuggestWord) a;
        SuggestWord wb=(SuggestWord) b;
        int val=wa.compareTo(wb);
        return val<0;