FileDocCategorySizeDatePackage
SuggestWordQueue.javaAPI DocApache Lucene 2.1.01268Wed Feb 14 10:46:24 GMT 2007org.apache.lucene.search.spell

SuggestWordQueue

public final class SuggestWordQueue extends PriorityQueue
Sorts SuggestWord instances
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;