gate.creole.annic.apache.lucene.search
Class HitQueue

java.lang.Object
  extended by gate.creole.annic.apache.lucene.util.PriorityQueue
      extended by gate.creole.annic.apache.lucene.search.HitQueue

final class HitQueue
extends PriorityQueue


Constructor Summary
HitQueue(int size)
           
 
Method Summary
protected  boolean lessThan(Object a, Object b)
          Determines the ordering of objects in this priority queue.
 
Methods inherited from class gate.creole.annic.apache.lucene.util.PriorityQueue
adjustTop, clear, initialize, insert, pop, put, size, top
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HitQueue

HitQueue(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