org.apache.lucene.spelt
Class SpellReader.WordQueue

Object
  extended by PriorityQueue
      extended by SpellReader.WordQueue
Enclosing class:
SpellReader

private static final class SpellReader.WordQueue
extends PriorityQueue

Queue of words, ordered by score and then frequency


Constructor Summary
SpellReader.WordQueue(int size)
           
 
Method Summary
protected  boolean lessThan(Object a, Object b)
          Determines the ordering of objects in this priority queue.
 
Methods inherited from class PriorityQueue
adjustTop, clear, initialize, insert, pop, put, setExpandable, size, top
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpellReader.WordQueue

SpellReader.WordQueue(int size)
Method Detail

lessThan

protected final boolean lessThan(Object a,
                                 Object b)
Description copied from class: PriorityQueue
Determines the ordering of objects in this priority queue. Subclasses must define this one method.

Specified by:
lessThan in class PriorityQueue