org.cdlib.xtf.textEngine
Class MoreLikeThisQuery.QueryWordQueue

Object
  extended by PriorityQueue
      extended by MoreLikeThisQuery.QueryWordQueue
Enclosing class:
MoreLikeThisQuery

private static class MoreLikeThisQuery.QueryWordQueue
extends PriorityQueue

PriorityQueue that orders query words by score.


Constructor Summary
MoreLikeThisQuery.QueryWordQueue(int s)
           
 
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

MoreLikeThisQuery.QueryWordQueue

MoreLikeThisQuery.QueryWordQueue(int s)
Method Detail

lessThan

protected 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